mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Fix some syntactical issues and add missing parameter and return descriptions to the DocBlock for the WP_User::__isset() magic method.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@34388 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
adc24d967b
commit
e0cef41f09
@ -259,11 +259,13 @@ class WP_User {
|
||||
}
|
||||
|
||||
/**
|
||||
* Magic method for checking the existence of a certain custom field
|
||||
* Magic method for checking the existence of a certain custom field.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @param string $key
|
||||
* @return bool
|
||||
* @access public
|
||||
*
|
||||
* @param string $key User meta key to check if set.
|
||||
* @return bool Whether the given user meta key is set.
|
||||
*/
|
||||
public function __isset( $key ) {
|
||||
if ( 'id' == $key ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user