Ticket #21010: edit-comments-view-post.diff
| File edit-comments-view-post.diff, 885 bytes (added by , 14 years ago) |
|---|
-
wp-admin/edit-comments.php
142 142 <div class="wrap"> 143 143 <?php screen_icon(); ?> 144 144 <h2><?php 145 if ( $post_id ) 145 if ( $post_id ) { 146 146 echo sprintf(__('Comments on “%s”'), 147 147 sprintf('<a href="%s">%s</a>', 148 148 get_edit_post_link($post_id), 149 149 wp_html_excerpt(_draft_or_post_title($post_id), 50) 150 150 ) 151 151 ); 152 else 152 echo ' - ' . sprintf( '<a href="%s" target="_blank">%s</a>', get_permalink( $post_id ), __('View Post') ); 153 } else { 153 154 echo __('Comments'); 154 155 } 155 156 if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 156 157 printf( '<span class="subtitle">' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ) . '</span>' ); ?> 157 158 </h2>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)