From fd82198aad6f339368dc9d6c9a03d643effdc3d8 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 22 Sep 2015 09:59:24 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-user.php | 8 +++++--- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-user.php b/wp-includes/class-wp-user.php index 10965761b3..48cb47dce1 100644 --- a/wp-includes/class-wp-user.php +++ b/wp-includes/class-wp-user.php @@ -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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 42ca0efb65..9ad8a9c2d3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.