Changeset 30111 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 10/30/2014 03:51:28 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r30092 r30111 36 36 * 37 37 * @since 1.5.0 38 * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added. 38 39 * 39 40 * @param string $author The comment author's username. 40 * @param int $comment_ID The comment ID 41 * @param object $comment The comment 41 * @param int $comment_ID The comment ID. 42 * @param object $comment The comment object. 42 43 */ 43 44 return apply_filters( 'get_comment_author', $author, $comment_ID, $comment ); … … 57 58 * 58 59 * @since 1.2.0 59 * 60 * @param string $author The comment author's username. 61 * @param int $comment_ID The comment ID 60 * @since 4.1.0 The `$comment_ID` parameter was added. 61 * 62 * @param string $author The comment author's username. 63 * @param int $comment_ID The comment ID. 62 64 */ 63 65 $author = apply_filters( 'comment_author', $author, $comment_ID ); … … 79 81 * 80 82 * @since 1.5.0 83 * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added. 81 84 * 82 85 * @param string $comment_author_email The comment author's email address. 83 * @param int $comment_ID The comment ID 84 * @param object $comment The comment 86 * @param int $comment_ID The comment ID. 87 * @param object $comment The comment object. 85 88 */ 86 89 return apply_filters( 'get_comment_author_email', $comment->comment_author_email, $comment_ID, $comment ); … … 106 109 * 107 110 * @since 1.2.0 111 * @since 4.1.0 The `$comment_ID` parameter was added. 108 112 * 109 113 * @param string $author_email The comment author's email address. 110 * @param int $comment_ID The comment ID 114 * @param int $comment_ID The comment ID. 111 115 */ 112 116 echo apply_filters( 'author_email', $author_email, $comment_ID ); … … 161 165 * 162 166 * @since 1.2.0 167 * @since 4.1.0 The `$comment` parameter was added. 163 168 * 164 169 * @param string $comment_author_email The comment author's email address. 165 * @param object $comment The comment 170 * @param object $comment The comment object. 166 171 */ 167 172 $email = apply_filters( 'comment_email', $comment->comment_author_email, $comment ); … … 202 207 * 203 208 * @since 1.5.0 204 * 205 * @param string $return The HTML-formatted comment author link. 206 * Empty for an invalid URL. 207 * @param int $comment_ID The comment ID 209 * @since 4.1.0 The `$author` and `$comment_ID` parameters were added. 210 * 211 * @param string $return The HTML-formatted comment author link. 212 * Empty for an invalid URL. 213 * @param string $author The comment author's username. 214 * @param int $comment_ID The comment ID. 208 215 */ 209 216 return apply_filters( 'get_comment_author_link', $return, $author, $comment_ID ); … … 240 247 * 241 248 * @since 1.5.0 249 * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added. 242 250 * 243 251 * @param string $comment_author_IP The comment author's IP address. 244 * @param int $comment_ID The comment ID 245 * @param object $comment The comment 252 * @param int $comment_ID The comment ID. 253 * @param object $comment The comment object. 246 254 */ 247 255 return apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment_ID, $comment ); … … 277 285 * 278 286 * @since 1.5.0 279 * 280 * @param string $url The comment author's URL. 281 * @param int $comment_ID The comment ID 282 * @param object $comment The comment 287 * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added. 288 * 289 * @param string $url The comment author's URL. 290 * @param int $comment_ID The comment ID. 291 * @param object $comment The comment object. 283 292 */ 284 293 return apply_filters( 'get_comment_author_url', $url, $comment_ID, $comment ); … … 299 308 * 300 309 * @since 1.2.0 310 * @since 4.1.0 The `$comment_ID` parameter was added. 301 311 * 302 312 * @param string $author_url The comment author's URL. 303 * @param int $comment_ID The comment ID 313 * @param int $comment_ID The comment ID. 304 314 */ 305 315 echo apply_filters( 'comment_url', $author_url, $comment_ID ); … … 543 553 * 544 554 * @since 1.5.0 545 * 546 * @param string $excerpt The comment excerpt text. 547 * @param int $comment_ID The comment ID 548 * @param object $comment The comment 555 * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added. 556 * 557 * @param string $excerpt The comment excerpt text. 558 * @param int $comment_ID The comment ID. 559 * @param object $comment The comment object. 549 560 */ 550 561 return apply_filters( 'get_comment_excerpt', $excerpt, $comment_ID, $comment ); … … 565 576 * 566 577 * @since 1.2.0 567 * 568 * @param string $comment_excerpt The comment excerpt text. 569 * @param int $comment_ID The comment ID 578 * @since 4.1.0 The `$comment_ID` parameter was added. 579 * 580 * @param string $comment_excerpt The comment excerpt text. 581 * @param int $comment_ID The comment ID. 570 582 */ 571 583 echo apply_filters( 'comment_excerpt', $comment_excerpt, $comment_ID ); … … 585 597 * 586 598 * @since 1.5.0 587 * 588 * @param int $comment_ID The current comment ID. 589 * @param object $comment The comment 599 * @since 4.1.0 The `$comment_ID` parameter was added. 600 * 601 * @param int $comment_ID The current comment ID. 602 * @param object $comment The comment object. 590 603 */ 591 604 return apply_filters( 'get_comment_ID', $comment->comment_ID, $comment ); … … 893 906 * 894 907 * @since 1.5.0 895 * 896 * @param string $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'. 897 * @param int $comment_ID The comment ID 898 * @param object $comment The comment 908 * @since 4.1.0 The `$comment_ID` and `$comment` parameters were added. 909 * 910 * @param string $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'. 911 * @param int $comment_ID The comment ID. 912 * @param object $comment The comment object. 899 913 */ 900 914 return apply_filters( 'get_comment_type', $comment->comment_type, $comment_ID, $comment );
Note: See TracChangeset
for help on using the changeset viewer.