Docs: Add missing parameter documentation to the the DocBlock for WP_User::__set().

Props racase for the initial patch.
Fixes #33652.


git-svn-id: https://develop.svn.wordpress.org/trunk@33847 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
DrewAPicture
2015-09-01 21:46:02 +00:00
parent 42dcb586ee
commit 62230a38e1

View File

@@ -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 ) {