From e0cef41f098e1e045ceef88e87544aed34029767 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 22 Sep 2015 09:58:05 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@34388 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-user.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-user.php b/src/wp-includes/class-wp-user.php index 10965761b3..48cb47dce1 100644 --- a/src/wp-includes/class-wp-user.php +++ b/src/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 ) {