In `capabilities.php`, clarify/add some `return` docs.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32530 git-svn-id: http://core.svn.wordpress.org/trunk@32500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f32bf7bc0
commit
e724ed2b04
|
@ -87,7 +87,7 @@ class WP_Roles {
|
|||
*
|
||||
* @param callable $name Method to call.
|
||||
* @param array $arguments Arguments to pass when calling.
|
||||
* @return mixed|bool Return value of the callback, false otherwise.
|
||||
* @return mixed|false Return value of the callback, false otherwise.
|
||||
*/
|
||||
public function __call( $name, $arguments ) {
|
||||
if ( '_init' === $name ) {
|
||||
|
@ -713,6 +713,7 @@ class WP_User {
|
|||
* @since 3.3.0
|
||||
*
|
||||
* @param string $key Property
|
||||
* @return mixed
|
||||
*/
|
||||
public function get( $key ) {
|
||||
return $this->__get( $key );
|
||||
|
@ -726,6 +727,7 @@ class WP_User {
|
|||
* @since 3.3.0
|
||||
*
|
||||
* @param string $key Property
|
||||
* @return bool
|
||||
*/
|
||||
public function has_prop( $key ) {
|
||||
return $this->__isset( $key );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32529';
|
||||
$wp_version = '4.3-alpha-32530';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue