Changeset 24214 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 05/09/2013 12:22:02 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r23578 r24214 106 106 107 107 if ( $post_id ) 108 $title = sprintf( __('Comments on “%s”'), wp_html_excerpt(_draft_or_post_title($post_id), 50));108 $title = sprintf( __( 'Comments on “%s”' ), wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ) ); 109 109 else 110 110 $title = __('Comments'); … … 144 144 <h2><?php 145 145 if ( $post_id ) 146 echo sprintf( __('Comments on “%s”'),147 sprintf( '<a href="%s">%s</a>',148 get_edit_post_link( $post_id),149 wp_html_excerpt( _draft_or_post_title($post_id), 50)146 echo sprintf( __( 'Comments on “%s”' ), 147 sprintf( '<a href="%s">%s</a>', 148 get_edit_post_link( $post_id ), 149 wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ) 150 150 ) 151 151 ); … … 154 154 155 155 if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 156 printf( '<span class="subtitle">' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50 ) ) . '</span>' ); ?>156 printf( '<span class="subtitle">' . sprintf( __( 'Search results for “%s”' ), wp_html_excerpt( esc_html( wp_unslash( $_REQUEST['s'] ) ), 50, '…' ) ) . '</span>' ); ?> 157 157 </h2> 158 158
Note: See TracChangeset
for help on using the changeset viewer.