Ticket #25521: 25521.diff
File 25521.diff, 1.3 KB (added by , 11 years ago) |
---|
-
src/wp-admin/edit-form-comment.php
49 49 <?php 50 50 if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { 51 51 $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('visit site') . '</a>'; 52 printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); 52 /** This filter is documented in wp-includes/comment-template.php */ 53 printf( __( 'URL (%s):' ), apply_filters( 'get_comment_author_link', $link ) ); 53 54 } else { 54 55 _e( 'URL:' ); 55 56 } ?></td> … … 127 128 128 129 <div id="postbox-container-2" class="postbox-container"> 129 130 <?php 131 /** This action is documented in wp-admin/edit-form-advanced.php */ 132 do_action( 'add_meta_boxes', 'comment', $comment ); 130 133 131 do_action('add_meta_boxes', 'comment', $comment); 132 do_action('add_meta_boxes_comment', $comment); 134 /** 135 * Fires when comment-specific meta boxes are added. 136 * 137 * @since 3.0.0 138 * 139 * @param object $comment Comment object. 140 */ 141 do_action( 'add_meta_boxes_comment', $comment ); 133 142 134 143 do_meta_boxes(null, 'normal', $comment); 135 144