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:
Drew Jaynes 2015-09-22 09:58:05 +00:00
parent adc24d967b
commit e0cef41f09

View File

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