Docs: Fix `@return` type for `wp_get_current_user()` after [36313].
See #19615. Built from https://develop.svn.wordpress.org/trunk@36314 git-svn-id: http://core.svn.wordpress.org/trunk@36281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9cd880d356
commit
c5e3716c11
|
@ -62,7 +62,7 @@ if ( !function_exists('wp_get_current_user') ) :
|
||||||
*
|
*
|
||||||
* @global WP_User $current_user Checks if the current user is set.
|
* @global WP_User $current_user Checks if the current user is set.
|
||||||
*
|
*
|
||||||
* @return bool Current WP_User instance.
|
* @return WP_User Current WP_User instance.
|
||||||
*/
|
*/
|
||||||
function wp_get_current_user() {
|
function wp_get_current_user() {
|
||||||
global $current_user;
|
global $current_user;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36313';
|
$wp_version = '4.5-alpha-36314';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue