Docs: Fix some syntactical issues and add missing parameter and return descriptions to the DocBlock for the WP_User::__isset() magic method.

See #32246.

Built from https://develop.svn.wordpress.org/trunk@34388


git-svn-id: http://core.svn.wordpress.org/trunk@34352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-09-22 09:59:24 +00:00
parent 16d8ed44a5
commit fd82198aad
2 changed files with 6 additions and 4 deletions

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 * @since 3.3.0
* @param string $key * @access public
* @return bool *
* @param string $key User meta key to check if set.
* @return bool Whether the given user meta key is set.
*/ */
public function __isset( $key ) { public function __isset( $key ) {
if ( 'id' == $key ) { if ( 'id' == $key ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-34387'; $wp_version = '4.4-alpha-34388';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.