mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@36705 602fd350-edb4-49c9-b593-d223f7449a82
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