Ticket #23988: 23988.3.diff
| File 23988.3.diff, 1.2 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/comment.php
149 149 $message = __('This comment is currently in the Trash.'); 150 150 break; 151 151 } 152 if ( $message ) 153 echo '<div class="updated"><p>' . $message . '</p></div>'; 152 if ( $message ) { 153 echo '<div class="notice notice-info"><p>' . $message . '</p></div>'; 154 } 154 155 } 155 156 ?> 156 157 <p><strong><?php _e('Caution:'); ?></strong> <?php echo $caution_msg; ?></p> … … 186 187 echo $post_link; 187 188 188 189 if ( $comment->comment_parent ) { 189 $comment_url = esc_url( get_comment_link( $comment->comment_ID ) );190 190 $parent = get_comment( $comment->comment_parent ); 191 191 $parent_link = esc_url( get_comment_link( $comment->comment_parent ) ); 192 192 $name = get_comment_author( $parent->comment_ID ); … … 199 199 <th scope="row"><?php _e( 'Submitted on' ); ?></th> 200 200 <td> 201 201 <?php 202 //$comment_url = esc_url( get_comment_link( $comment->comment_ID ) ); 202 203 /* translators: 2: comment date, 3: comment time */ 203 204 printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url, 204 205 /* translators: comment date format. See http://php.net/date */