WordPress.org

Make WordPress Core

Ticket #9001: pluggable_doc_fixes.9001.diff

File pluggable_doc_fixes.9001.diff, 2.0 KB (added by filosofo, 9 years ago)
  • wp-includes/pluggable.php

     
    3434 * the signed in user. Therefore, it opens the ability to edit and perform 
    3535 * actions on users who aren't signed in. 
    3636 * 
    37  * @since 2.0.4 
     37 * @since 2.0.3 
    3838 * @global object $current_user The current user object which holds the user data. 
    3939 * @uses do_action() Calls 'set_current_user' hook after setting the current user. 
    4040 * 
     
    6262/** 
    6363 * Retrieve the current user object. 
    6464 * 
    65  * @since 2.0.4 
     65 * @since 2.0.3 
    6666 * 
    6767 * @return WP_User Current user WP_User object 
    6868 */ 
     
    771771/** 
    772772 * Verifies the AJAX request to prevent processing requests external of the blog. 
    773773 * 
    774  * @since 2.0.4 
     774 * @since 2.0.3 
    775775 * 
    776776 * @param string $action Action nonce 
    777777 * @param string $query_arg where to look for nonce in $_REQUEST (since 2.5) 
     
    11201120 * The user is given an amount of time to use the token, so therefore, since the 
    11211121 * UID and $action remain the same, the independent variable is the time. 
    11221122 * 
    1123  * @since 2.0.4 
     1123 * @since 2.0.3 
    11241124 * 
    11251125 * @param string $nonce Nonce that was used in the form to verify 
    11261126 * @param string|int $action Should give context to what is taking place and be the same when nonce was created. 
     
    11471147/** 
    11481148 * Creates a random, one time use token. 
    11491149 * 
    1150  * @since 2.0.4 
     1150 * @since 2.0.3 
    11511151 * 
    11521152 * @param string|int $action Scalar value to add context to the nonce. 
    11531153 * @return string The one use form token 
     
    12721272/** 
    12731273 * Get hash of given string. 
    12741274 * 
    1275  * @since 2.0.4 
     1275 * @since 2.0.3 
    12761276 * @uses wp_salt() Get WordPress salt 
    12771277 * 
    12781278 * @param string $data Plain text to hash 
     
    15831583 * This function is deprecated and should no longer be extended as it won't be 
    15841584 * used anywhere in WordPress. Also, plugins shouldn't use it either. 
    15851585 * 
    1586  * @since 2.0.4 
     1586 * @since 2.0.3 
    15871587 * @deprecated No alternative 
    15881588 * 
    15891589 * @return bool Always returns false