Docs: Make a few syntactical improvements to the DocBlock for _wp_get_current_user(), introduced in [36651].
Includes a cross reference from the DocBlock for `wp_get_current_user()`, which itself is pluggable, but the new internal function is not. See #19615. See #32246. Built from https://develop.svn.wordpress.org/trunk@36705 git-svn-id: http://core.svn.wordpress.org/trunk@36672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -60,6 +60,7 @@ if ( !function_exists('wp_get_current_user') ) :
|
||||
*
|
||||
* @since 2.0.3
|
||||
*
|
||||
* @see _wp_get_current_user()
|
||||
* @global WP_User $current_user Checks if the current user is set.
|
||||
*
|
||||
* @return WP_User Current WP_User instance.
|
||||
|
||||
Reference in New Issue
Block a user