Changeset 34071
- Timestamp:
- 09/12/2015 03:15:14 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed.php
r33913 r34071 292 292 * 293 293 * @since 1.5.0 294 */ 295 function comment_link() { 294 * @since 4.4.0 Introduced the `$comment` argument. 295 * 296 * @param int|WP_Comment $comment Optional comment object or id. Defaults to global comment object. 297 */ 298 function comment_link( $comment = null ) { 296 299 /** 297 300 * Filter the current comment's permalink. … … 303 306 * @param string $comment_permalink The current comment permalink. 304 307 */ 305 echo esc_url( apply_filters( 'comment_link', get_comment_link( ) ) );308 echo esc_url( apply_filters( 'comment_link', get_comment_link( $comment ) ) ); 306 309 } 307 310
Note: See TracChangeset
for help on using the changeset viewer.