Make WordPress Core

Changeset 25991


Ignore:
Timestamp:
10/30/2013 03:19:16 AM (13 years ago)
Author:
SergeyBiryukov
Message:

Correct @since values for various hooks. fixes #25766.

Location:
trunk/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-advanced.php

    r25953 r25991  
    558558         * Fires after 'normal' context meta boxes have been output for the 'page' post type.
    559559         *
    560          * @since 1.5.2
     560         * @since 1.5.0
    561561         *
    562562         * @param WP_Post $post Post object.
    … …  
    568568         * Fires after 'normal' context meta boxes have been output for all post types other than 'page'.
    569569         *
    570          * @since 1.5.2
     570         * @since 1.5.0
    571571         *
    572572         * @param WP_Post $post Post object.
  • trunk/src/wp-admin/includes/misc.php

    r25796 r25991  
    248248 * Shorten an URL, to be used as link text
    249249 *
    250  * @since 1.2.1
     250 * @since 1.2.0
    251251 *
    252252 * @param string $url
  • trunk/src/wp-includes/class-wp.php

    r25946 r25991  
    253253                 * to work, or any other custom query variables you want to be publicly available.
    254254                 *
    255                  * @since 1.5.2
     255                 * @since 1.5.0
    256256                 *
    257257                 * @param array $public_query_vars The array of whitelisted query variables.
    … …  
    472472                         * Filter the query string before parsing.
    473473                         *
    474                          * @since 1.5.2
     474                         * @since 1.5.0
    475475                         * @deprecated 2.1.0 Use 'query_vars' or 'request' filters instead.
    476476                         *
  • trunk/src/wp-includes/comment-template.php

    r25588 r25991  
    3535         * Filter the returned comment author name.
    3636         *
    37          * @since 1.5.2
     37         * @since 1.5.0
    3838         *
    3939         * @param string $author The comment author's username.
    … …  
    5454         * Filter the comment author's name for display.
    5555         *
    56          * @since 1.2.1
     56         * @since 1.2.0
    5757         *
    5858         * @param string $author The comment author's username.
    … …  
    7575         * Filter the comment author's returned email address.
    7676         *
    77          * @since 1.5.2
     77         * @since 1.5.0
    7878         *
    7979         * @param string $comment->comment_author_email The comment author's email address.
    … …  
    100100         * Filter the comment author's email for display.
    101101         *
    102          * @since 1.2.1
     102         * @since 1.2.0
    103103         *
    104104         * @param string $author_email The comment author's email address.
    … …  
    154154         * harvesters do not capture your commentors' email address.
    155155         *
    156          * @since 1.2.1
     156         * @since 1.2.0
    157157         *
    158158         * @param string $comment->comment_author_email The comment author's email address.
    … …  
    193193         * Filter the comment author's link for display.
    194194         *
    195          * @since 1.5.2
     195         * @since 1.5.0
    196196         *
    197197         * @param string $return The HTML-formatted comment author link. Empty for an invalid URL.
    … …  
    226226         * Filter the comment author's returned IP address.
    227227         *
    228          * @since 1.5.2
     228         * @since 1.5.0
    229229         *
    230230         * @param string $comment->comment_author_IP The comment author's IP address.
    … …  
    256256        $url = ('http://' == $comment->comment_author_url) ? '' : $comment->comment_author_url;
    257257        $url = esc_url( $url, array('http', 'https') );
    258         return apply_filters('get_comment_author_url', $url);
     258        /**
     259         * Filter the comment author's URL.
     260         *
     261         * @since 1.5.0
     262         *
     263         * @param string $url The comment author's URL.
     264         */
     265        return apply_filters( 'get_comment_author_url', $url );
    259266}
    260267
    … …  
    271278         * Filter the comment author's URL for display.
    272279         *
    273          * @since 1.2.1
     280         * @since 1.2.0
    274281         *
    275282         * @param string $author_url The comment author's URL.
    … …  
    307314         * Filter the comment author's returned URL link.
    308315         *
    309          * @since 1.5.2
     316         * @since 1.5.0
    310317         *
    311318         * @param string $return The HTML-formatted comment author URL link.
    … …  
    446453         * Filter the returned comment date.
    447454         *
    448          * @since 1.5.2
     455         * @since 1.5.0
    449456         *
    450457         * @param string|int $date Formatted date string or Unix timestamp.
    … …  
    509516         * Filter the comment excerpt for display.
    510517         *
    511          * @since 1.2.1
     518         * @since 1.2.0
    512519         *
    513520         * @param string $comment_excerpt The comment excerpt text.
    … …  
    528535         * Filter the returned comment ID.
    529536         *
    530          * @since 1.5.2
     537         * @since 1.5.0
    531538         *
    532539         * @param int $comment->comment_ID The current comment ID.
    … …  
    661668         * Filter the returned comment count for a post.
    662669         *
    663          * @since 1.5.2
     670         * @since 1.5.0
    664671         *
    665672         * @param int         $count   The number of comments a post has.
    … …  
    695702         * Filter the comments count for display.
    696703         *
    697          * @since 1.5.2
     704         * @since 1.5.0
    698705         *
    699706         * @param string $output A translatable string formatted based on whether the count is equal to 0, 1, or 1+. @see _n()
    … …  
    718725         * Filter the text of a comment.
    719726         *
    720          * @since 1.5.2
     727         * @since 1.5.0
    721728         *
    722729         * @param string $comment->comment_content The text of the comment.
    … …  
    744751         * Filter the text of a comment to be displayed.
    745752         *
    746          * @since 1.2.1
     753         * @since 1.2.0
    747754         *
    748755         * @param string $comment_text The text of the current comment.
    … …  
    774781         * Filter the returned comment time.
    775782         *
    776          * @since 1.5.2
     783         * @since 1.5.0
    777784         *
    778785         * @param string|int $date      The comment time, formatted as a date string or Unix timestamp.
    … …  
    811818         * Filter the returned comment type.
    812819         *
    813          * @since 1.5.2
     820         * @since 1.5.0
    814821         *
    815822         * @param string $comment->comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'.
    … …  
    10821089         * Filter the path to the theme template file used for the comments template.
    10831090         *
    1084          * @since 1.5.2
     1091         * @since 1.5.1
    10851092         *
    10861093         * @param string $theme_template The path to the theme template file.
    … …  
    21022109                                                 * Fires at the bottom of the comment form, inside the closing </form> tag.
    21032110                                                 *
    2104                                                  * @since 1.5.2
     2111                                                 * @since 1.5.0
    21052112                                                 *
    21062113                                                 * @param int $post_id The post ID.
  • trunk/src/wp-includes/l10n.php

    r25986 r25991  
    3131                 * Filter WordPress install's locale ID.
    3232                 *
    33                  * @since 1.5.2
     33                 * @since 1.5.0
    3434                 *
    3535                 * @param string $locale The locale ID.
  • trunk/src/wp-includes/ms-load.php

    r25880 r25991  
    6767 * blog-suspended.php drop-ins.
    6868 *
     69 * @since 3.0.0
     70 *
    6971 * @return bool|string Returns true on success, or drop-in file to include.
    7072 */
    … …  
    7779         * Filter checking the status of the current blog.
    7880         *
    79          * @since 1.2.1
     81         * @since 3.0.0
    8082         *
    8183         * @param bool null Whether to skip the blog status check. Default null.
  • trunk/src/wp-includes/template-loader.php

    r25702 r25991  
    88         * Fires before determining which template to load.
    99         *
    10          * @since 1.5.2
     10         * @since 1.5.0
    1111         */
    1212        do_action( 'template_redirect' );
  • trunk/src/wp-includes/template.php

    r25703 r25991  
    3535         * to various types of files loaded as part of the Template Hierarchy.
    3636         *
    37          * @since 1.5.2
     37         * @since 1.5.0
    3838         *
    3939         * @param string $template Path to the template. @see locate_template()
  • trunk/src/wp-login.php

    r25880 r25991  
    300300         * Fires before a new password is retrieved.
    301301         *
    302          * @since 1.5.2
    303          * @deprecated 1.5.2 Misspelled. Use 'retrieve_password' hook instead.
     302         * @since 1.5.0
     303         * @deprecated 1.5.1 Misspelled. Use 'retrieve_password' hook instead.
    304304         *
    305305         * @param string $user_login The user login name.
    … …  
    309309         * Fires before a new password is retrieved.
    310310         *
    311          * @since 1.5.2
     311         * @since 1.5.1
    312312         *
    313313         * @param string $user_login The user login name.
    … …  
    509509         * Fires before the lost password form.
    510510         *
    511          * @since 1.5.2
     511         * @since 1.5.1
    512512         */
    513513        do_action( 'lost_password' );
    … …  
    543543         * Filter the registration URL below the login form.
    544544         *
    545          * @since 1.5.2
     545         * @since 1.5.0
    546546         *
    547547         * @param string $registration_url Registration URL.
  • trunk/src/wp-settings.php

    r25721 r25991  
    220220 * Pluggable functions are also available at this point in the loading order.
    221221 *
    222  * @since 1.5.2
     222 * @since 1.5.0
    223223 */
    224224do_action( 'plugins_loaded' );
    … …  
    336336 * If you wish to plug an action once WP is loaded, use the wp_loaded hook below.
    337337 *
    338  * @since 1.5.2
     338 * @since 1.5.0
    339339 */
    340340do_action( 'init' );
Note: See TracChangeset for help on using the changeset viewer.