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
This commit is contained in:
parent
0415dd7c53
commit
05c7abcf13
|
@ -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 ) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue