Changeset 26868 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 12/24/2013 06:56:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r26388 r26868 507 507 * should be and compares the two. 508 508 * 509 * @since 2.5 509 * @since 2.5.0 510 510 * 511 511 * @param string $cookie Optional. If used, will validate contents instead of cookie's … … 562 562 * Generate authentication cookie contents. 563 563 * 564 * @since 2.5 564 * @since 2.5.0 565 * 565 566 * @uses apply_filters() Calls 'auth_cookie' hook on $cookie contents, User ID 566 567 * and expiration of cookie. … … 589 590 * Parse a cookie into its components 590 591 * 591 * @since 2.7 592 * @since 2.7.0 592 593 * 593 594 * @param string $cookie … … 640 641 * set, the cookies will be kept for 14 days or two weeks. 641 642 * 642 * @since 2.5 643 * @since 2.5.0 643 644 * 644 645 * @param int $user_id User ID … … 688 689 * Removes all of the cookies associated with authentication. 689 690 * 690 * @since 2.5 691 * @since 2.5.0 691 692 */ 692 693 function wp_clear_auth_cookie() { … … 736 737 * Checks if a user is logged in, if not it redirects them to the login page. 737 738 * 738 * @since 1.5 739 * @since 1.5.0 739 740 */ 740 741 function auth_redirect() { … … 904 905 * Sanitizes a URL for use in a redirect. 905 906 * 906 * @since 2.3 907 * @since 2.3.0 907 908 * 908 909 * @return string redirect-sanitized URL … … 931 932 * but only used in a few places. 932 933 * 933 * @since 2.3 934 * @since 2.3.0 935 * 934 936 * @uses wp_validate_redirect() To validate the redirect is to an allowed host. 935 937 * … … 1166 1168 * Notifies the moderator of the blog about a new comment that is awaiting approval. 1167 1169 * 1168 * @since 1.0 1170 * @since 1.0.0 1171 * 1169 1172 * @uses $wpdb 1170 1173 * … … 1252 1255 * Notify the blog admin of a user changing password, normally via email. 1253 1256 * 1254 * @since 2.7 1257 * @since 2.7.0 1255 1258 * 1256 1259 * @param object $user User Object … … 1273 1276 * Notify the blog admin of a new user, normally via email. 1274 1277 * 1275 * @since 2.0 1278 * @since 2.0.0 1276 1279 * 1277 1280 * @param int $user_id User ID … … 1310 1313 * updated, e.g. by autosave. 1311 1314 * 1312 * @since 2.5 1315 * @since 2.5.0 1313 1316 * 1314 1317 * @return int … … 1402 1405 * common dictionary strings. The added values makes it harder to crack. 1403 1406 * 1404 * @since 2.5 1407 * @since 2.5.0 1405 1408 * 1406 1409 * @link https://api.wordpress.org/secret-key/1.1/salt/ Create secrets for wp-config.php … … 1486 1489 * instead use the other package password checking algorithm. 1487 1490 * 1488 * @since 2.5 1491 * @since 2.5.0 1492 * 1489 1493 * @global object $wp_hasher PHPass object 1490 1494 * @uses PasswordHash::HashPassword … … 1518 1522 * instead use the other package password checking algorithm. 1519 1523 * 1520 * @since 2.5 1524 * @since 2.5.0 1525 * 1521 1526 * @global object $wp_hasher PHPass object used for checking the password 1522 1527 * against the $hash + $password … … 1560 1565 * Generates a random password drawn from the defined set of characters. 1561 1566 * 1562 * @since 2.5 1567 * @since 2.5.0 1563 1568 * 1564 1569 * @param int $length The length of password to generate … … 1639 1644 * instead use the other package password checking algorithm. 1640 1645 * 1641 * @since 2.5 1646 * @since 2.5.0 1647 * 1642 1648 * @uses $wpdb WordPress database object for queries 1643 1649 * @uses wp_hash_password() Used to encrypt the user's password before passing to the database … … 1660 1666 * Retrieve the avatar for a user who provided a user ID or email address. 1661 1667 * 1662 * @since 2.5 1668 * @since 2.5.0 1669 * 1663 1670 * @param int|string|object $id_or_email A user ID, email address, or comment object 1664 1671 * @param int $size Size of the avatar image … … 1774 1781 * the title. 1775 1782 * 1776 * @since 2.6 1783 * @since 2.6.0 1784 * 1777 1785 * @see wp_parse_args() Used to change defaults to user defined settings. 1778 1786 * @uses Text_Diff
Note: See TracChangeset
for help on using the changeset viewer.