Make WordPress Core

Changeset 36705


Ignore:
Timestamp:
02/25/2016 05:06:39 AM (9 years ago)
Author:
DrewAPicture
Message:

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.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r36688 r36705  
    6161 * @since 2.0.3
    6262 *
     63 * @see _wp_get_current_user()
    6364 * @global WP_User $current_user Checks if the current user is set.
    6465 *
  • trunk/src/wp-includes/user.php

    r36651 r36705  
    24092409
    24102410/**
    2411  * Retrieve the current user object.
     2411 * Retrieves the current user object.
    24122412 *
    24132413 * Will set the current user, if the current user is not set. The current user
     
    24152415 * set the current user to 0, which is invalid and won't have any permissions.
    24162416 *
    2417  * This function is used by the pluggable functions {@see wp_get_current_user()}
    2418  * and {@see get_currentuserinfo()}, which is deprecated, for backward compatibility.
     2417 * This function is used by the pluggable functions wp_get_current_user() and
     2418 * get_currentuserinfo(), which is deprecated, for backward compatibility.
    24192419 *
    24202420 * @since 4.5.0
    24212421 * @access private
    24222422 *
    2423  * @see https://core.trac.wordpress.org/ticket/19615
     2423 * @see wp_get_current_user()
    24242424 * @global WP_User $current_user Checks if the current user is set.
    24252425 *
Note: See TracChangeset for help on using the changeset viewer.