I18N: Remove <a> tag from translatable string in wp-admin/includes/class-wp-comments-list-table.php.

Props ramiy.
Fixes #34686.
Built from https://develop.svn.wordpress.org/trunk@35666


git-svn-id: http://core.svn.wordpress.org/trunk@35630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-11-18 17:34:27 +00:00
parent 7cb5ca6b33
commit 0d4cf36199
2 changed files with 5 additions and 4 deletions

View File

@ -714,14 +714,15 @@ class WP_Comments_List_Table extends WP_List_Table {
* @access public
*/
public function column_date( $comment ) {
$comment_url = esc_url( get_comment_link( $comment ) );
echo '<div class="submitted-on">';
/* translators: 2: comment date, 3: comment time */
printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url,
echo '<a href="' . esc_url( get_comment_link( $comment ) ) . '">';
/* translators: 1: comment date, 2: comment time */
printf( __( '%1$s at %2$s' ),
/* translators: comment date format. See http://php.net/date */
get_comment_date( __( 'Y/m/d' ), $comment ),
get_comment_date( get_option( 'time_format' ), $comment )
);
echo '</a>';
echo '</div>';
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-beta4-35665';
$wp_version = '4.4-beta4-35666';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.