Make WordPress Core


Ignore:
Timestamp:
12/24/2013 06:56:05 PM (11 years ago)
Author:
DrewAPicture
Message:

First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.

Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713.

File:
1 edited

Legend:

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

    r26388 r26868  
    507507 * should be and compares the two.
    508508 *
    509  * @since 2.5
     509 * @since 2.5.0
    510510 *
    511511 * @param string $cookie Optional. If used, will validate contents instead of cookie's
     
    562562 * Generate authentication cookie contents.
    563563 *
    564  * @since 2.5
     564 * @since 2.5.0
     565 *
    565566 * @uses apply_filters() Calls 'auth_cookie' hook on $cookie contents, User ID
    566567 *      and expiration of cookie.
     
    589590 * Parse a cookie into its components
    590591 *
    591  * @since 2.7
     592 * @since 2.7.0
    592593 *
    593594 * @param string $cookie
     
    640641 * set, the cookies will be kept for 14 days or two weeks.
    641642 *
    642  * @since 2.5
     643 * @since 2.5.0
    643644 *
    644645 * @param int $user_id User ID
     
    688689 * Removes all of the cookies associated with authentication.
    689690 *
    690  * @since 2.5
     691 * @since 2.5.0
    691692 */
    692693function wp_clear_auth_cookie() {
     
    736737 * Checks if a user is logged in, if not it redirects them to the login page.
    737738 *
    738  * @since 1.5
     739 * @since 1.5.0
    739740 */
    740741function auth_redirect() {
     
    904905 * Sanitizes a URL for use in a redirect.
    905906 *
    906  * @since 2.3
     907 * @since 2.3.0
    907908 *
    908909 * @return string redirect-sanitized URL
     
    931932 * but only used in a few places.
    932933 *
    933  * @since 2.3
     934 * @since 2.3.0
     935 *
    934936 * @uses wp_validate_redirect() To validate the redirect is to an allowed host.
    935937 *
     
    11661168 * Notifies the moderator of the blog about a new comment that is awaiting approval.
    11671169 *
    1168  * @since 1.0
     1170 * @since 1.0.0
     1171 *
    11691172 * @uses $wpdb
    11701173 *
     
    12521255 * Notify the blog admin of a user changing password, normally via email.
    12531256 *
    1254  * @since 2.7
     1257 * @since 2.7.0
    12551258 *
    12561259 * @param object $user User Object
     
    12731276 * Notify the blog admin of a new user, normally via email.
    12741277 *
    1275  * @since 2.0
     1278 * @since 2.0.0
    12761279 *
    12771280 * @param int $user_id User ID
     
    13101313 * updated, e.g. by autosave.
    13111314 *
    1312  * @since 2.5
     1315 * @since 2.5.0
    13131316 *
    13141317 * @return int
     
    14021405 * common dictionary strings. The added values makes it harder to crack.
    14031406 *
    1404  * @since 2.5
     1407 * @since 2.5.0
    14051408 *
    14061409 * @link https://api.wordpress.org/secret-key/1.1/salt/ Create secrets for wp-config.php
     
    14861489 * instead use the other package password checking algorithm.
    14871490 *
    1488  * @since 2.5
     1491 * @since 2.5.0
     1492 *
    14891493 * @global object $wp_hasher PHPass object
    14901494 * @uses PasswordHash::HashPassword
     
    15181522 * instead use the other package password checking algorithm.
    15191523 *
    1520  * @since 2.5
     1524 * @since 2.5.0
     1525 *
    15211526 * @global object $wp_hasher PHPass object used for checking the password
    15221527 *  against the $hash + $password
     
    15601565 * Generates a random password drawn from the defined set of characters.
    15611566 *
    1562  * @since 2.5
     1567 * @since 2.5.0
    15631568 *
    15641569 * @param int $length The length of password to generate
     
    16391644 * instead use the other package password checking algorithm.
    16401645 *
    1641  * @since 2.5
     1646 * @since 2.5.0
     1647 *
    16421648 * @uses $wpdb WordPress database object for queries
    16431649 * @uses wp_hash_password() Used to encrypt the user's password before passing to the database
     
    16601666 * Retrieve the avatar for a user who provided a user ID or email address.
    16611667 *
    1662  * @since 2.5
     1668 * @since 2.5.0
     1669 *
    16631670 * @param int|string|object $id_or_email A user ID,  email address, or comment object
    16641671 * @param int $size Size of the avatar image
     
    17741781 *      the title.
    17751782 *
    1776  * @since 2.6
     1783 * @since 2.6.0
     1784 *
    17771785 * @see wp_parse_args() Used to change defaults to user defined settings.
    17781786 * @uses Text_Diff
Note: See TracChangeset for help on using the changeset viewer.