Changeset 30667
- Timestamp:
- 11/30/2014 10:18:33 PM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable-deprecated.php
r27369 r30667 29 29 * @param int|null $id User ID. 30 30 * @param string $name Optional. The user's username 31 * @return objectreturns wp_set_current_user()31 * @return WP_User returns wp_set_current_user() 32 32 */ 33 33 function set_current_user($id, $name = '') { … … 149 149 * @global string $error Error when false is returned 150 150 * 151 * @param string $username User's username152 * @param string $password User's password153 * @param bool$deprecated Not used151 * @param string $username User's username 152 * @param string $password User's password 153 * @param string $deprecated Not used 154 154 * @return bool False on login failure, true on successful check 155 155 */ -
trunk/src/wp-includes/pluggable.php
r30580 r30667 74 74 * @uses $current_user Checks if the current user is set 75 75 * 76 * @return bool|nullFalse on XML-RPC Request and invalid auth cookie. Null when current user set.76 * @return null|false False on XML-RPC Request and invalid auth cookie. Null when current user set. 77 77 */ 78 78 function get_currentuserinfo() { … … 1065 1065 * @since 1.2.0 1066 1066 * 1067 * @param string $actionAction nonce1068 * @param string $query_arg where to look for nonce in $_REQUEST (since 2.5)1067 * @param int|string $action Action nonce 1068 * @param string $query_arg Where to look for nonce in $_REQUEST (since 2.5) 1069 1069 */ 1070 1070 function check_admin_referer($action = -1, $query_arg = '_wpnonce') { … … 1099 1099 * @since 2.0.3 1100 1100 * 1101 * @param string $actionAction nonce1102 * @param string $query_arg where to look for nonce in $_REQUEST (since 2.5)1101 * @param int|string $action Action nonce 1102 * @param string $query_arg Where to look for nonce in $_REQUEST (since 2.5) 1103 1103 */ 1104 1104 function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) { … … 1667 1667 * @since 2.5.0 1668 1668 * 1669 * @return int1669 * @return float Float value rounded up to the next highest integer. 1670 1670 */ 1671 1671 function wp_nonce_tick() { … … 1692 1692 * @since 2.0.3 1693 1693 * 1694 * @param string $nonceNonce that was used in the form to verify1694 * @param string $nonce Nonce that was used in the form to verify 1695 1695 * @param string|int $action Should give context to what is taking place and be the same when nonce was created. 1696 1696 * @return bool Whether the nonce check passed or failed. … … 1742 1742 * @since 2.0.3 1743 1743 * 1744 * @param string $action Scalar value to add context to the nonce.1744 * @param string|int $action Scalar value to add context to the nonce. 1745 1745 * @return string The token. 1746 1746 */ … … 2091 2091 * @param string $default URL to a default image to use if no avatar is available 2092 2092 * @param string $alt Alternative text to use in image tag. Defaults to blank 2093 * @return string `<img>` tag for the user's avatar.2093 * @return false|string `<img>` tag for the user's avatar. 2094 2094 */ 2095 2095 function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
Note: See TracChangeset
for help on using the changeset viewer.