Ticket #15659: 15659.preg.diff
| File 15659.preg.diff, 717 bytes (added by markjaquith, 2 years ago) |
|---|
-
wp-admin/includes/class-wp-comments-list-table.php
426 426 $author_url = ''; 427 427 $author_url_display = preg_replace( '|http://(www\.)?|i', '', $author_url ); 428 428 if ( strlen( $author_url_display ) > 50 ) 429 $author_url_display = substr( $author_url_display, 0, 49) . '...';429 $author_url_display = preg_replace( '#&[^;&]{0,6}[^;]$#', '', substr( $author_url_display, 0, 49 ) ) . '...'; 430 430 431 431 echo "<strong>"; comment_author(); echo '</strong><br />'; 432 432 if ( !empty( $author_url ) )
