Changeset 25991 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 10/30/2013 03:19:16 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r25588 r25991 35 35 * Filter the returned comment author name. 36 36 * 37 * @since 1.5. 237 * @since 1.5.0 38 38 * 39 39 * @param string $author The comment author's username. … … 54 54 * Filter the comment author's name for display. 55 55 * 56 * @since 1.2. 156 * @since 1.2.0 57 57 * 58 58 * @param string $author The comment author's username. … … 75 75 * Filter the comment author's returned email address. 76 76 * 77 * @since 1.5. 277 * @since 1.5.0 78 78 * 79 79 * @param string $comment->comment_author_email The comment author's email address. … … 100 100 * Filter the comment author's email for display. 101 101 * 102 * @since 1.2. 1102 * @since 1.2.0 103 103 * 104 104 * @param string $author_email The comment author's email address. … … 154 154 * harvesters do not capture your commentors' email address. 155 155 * 156 * @since 1.2. 1156 * @since 1.2.0 157 157 * 158 158 * @param string $comment->comment_author_email The comment author's email address. … … 193 193 * Filter the comment author's link for display. 194 194 * 195 * @since 1.5. 2195 * @since 1.5.0 196 196 * 197 197 * @param string $return The HTML-formatted comment author link. Empty for an invalid URL. … … 226 226 * Filter the comment author's returned IP address. 227 227 * 228 * @since 1.5. 2228 * @since 1.5.0 229 229 * 230 230 * @param string $comment->comment_author_IP The comment author's IP address. … … 256 256 $url = ('http://' == $comment->comment_author_url) ? '' : $comment->comment_author_url; 257 257 $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 ); 259 266 } 260 267 … … 271 278 * Filter the comment author's URL for display. 272 279 * 273 * @since 1.2. 1280 * @since 1.2.0 274 281 * 275 282 * @param string $author_url The comment author's URL. … … 307 314 * Filter the comment author's returned URL link. 308 315 * 309 * @since 1.5. 2316 * @since 1.5.0 310 317 * 311 318 * @param string $return The HTML-formatted comment author URL link. … … 446 453 * Filter the returned comment date. 447 454 * 448 * @since 1.5. 2455 * @since 1.5.0 449 456 * 450 457 * @param string|int $date Formatted date string or Unix timestamp. … … 509 516 * Filter the comment excerpt for display. 510 517 * 511 * @since 1.2. 1518 * @since 1.2.0 512 519 * 513 520 * @param string $comment_excerpt The comment excerpt text. … … 528 535 * Filter the returned comment ID. 529 536 * 530 * @since 1.5. 2537 * @since 1.5.0 531 538 * 532 539 * @param int $comment->comment_ID The current comment ID. … … 661 668 * Filter the returned comment count for a post. 662 669 * 663 * @since 1.5. 2670 * @since 1.5.0 664 671 * 665 672 * @param int $count The number of comments a post has. … … 695 702 * Filter the comments count for display. 696 703 * 697 * @since 1.5. 2704 * @since 1.5.0 698 705 * 699 706 * @param string $output A translatable string formatted based on whether the count is equal to 0, 1, or 1+. @see _n() … … 718 725 * Filter the text of a comment. 719 726 * 720 * @since 1.5. 2727 * @since 1.5.0 721 728 * 722 729 * @param string $comment->comment_content The text of the comment. … … 744 751 * Filter the text of a comment to be displayed. 745 752 * 746 * @since 1.2. 1753 * @since 1.2.0 747 754 * 748 755 * @param string $comment_text The text of the current comment. … … 774 781 * Filter the returned comment time. 775 782 * 776 * @since 1.5. 2783 * @since 1.5.0 777 784 * 778 785 * @param string|int $date The comment time, formatted as a date string or Unix timestamp. … … 811 818 * Filter the returned comment type. 812 819 * 813 * @since 1.5. 2820 * @since 1.5.0 814 821 * 815 822 * @param string $comment->comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'. … … 1082 1089 * Filter the path to the theme template file used for the comments template. 1083 1090 * 1084 * @since 1.5. 21091 * @since 1.5.1 1085 1092 * 1086 1093 * @param string $theme_template The path to the theme template file. … … 2102 2109 * Fires at the bottom of the comment form, inside the closing </form> tag. 2103 2110 * 2104 * @since 1.5. 22111 * @since 1.5.0 2105 2112 * 2106 2113 * @param int $post_id The post ID.
Note: See TracChangeset
for help on using the changeset viewer.