Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.
Note: See TracChangeset for help on using the changeset viewer.