mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user