From 05c7abcf137882018330fb615a4253fe34d33aed Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 1 Sep 2015 21:47:21 +0000 Subject: [PATCH] Docs: Add missing parameter documentation to the the DocBlock for `WP_User::__set()`. Props racase for the initial patch. Fixes #33652. Built from https://develop.svn.wordpress.org/trunk@33847 git-svn-id: http://core.svn.wordpress.org/trunk@33815 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-user.php | 6 +++++- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-user.php b/wp-includes/class-wp-user.php index c251611cbd..d0bcb6538e 100644 --- a/wp-includes/class-wp-user.php +++ b/wp-includes/class-wp-user.php @@ -294,9 +294,13 @@ class WP_User { } /** - * Magic method for setting custom fields + * Magic method for setting custom user fields. * * @since 3.3.0 + * @access public + * + * @param string $key User meta key. + * @param mixed $value User meta value. */ public function __set( $key, $value ) { if ( 'id' == $key ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 4badfadf3f..b5965cc741 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33846'; +$wp_version = '4.4-alpha-33847'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.