Improve various @param docs for src/wp-includes/*.
See #30224. Built from https://develop.svn.wordpress.org/trunk@30681 git-svn-id: http://core.svn.wordpress.org/trunk@30671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -611,6 +611,8 @@ class WP_User {
|
||||
* Magic method for checking the existence of a certain custom field
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @param string $key
|
||||
* @return bool
|
||||
*/
|
||||
public function __isset( $key ) {
|
||||
if ( 'id' == $key ) {
|
||||
@@ -631,6 +633,8 @@ class WP_User {
|
||||
* Magic method for accessing custom fields
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @param string $key
|
||||
* @return mixed
|
||||
*/
|
||||
public function __get( $key ) {
|
||||
if ( 'id' == $key ) {
|
||||
|
||||
Reference in New Issue
Block a user