Make WordPress Core


Ignore:
Timestamp:
11/18/2015 05:33:07 PM (11 years ago)
Author:
SergeyBiryukov
Message:

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

Props ramiy.
Fixes #34686.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r35490 r35666  
    715715         */
    716716        public function column_date( $comment ) {
    717                 $comment_url = esc_url( get_comment_link( $comment ) );
    718717                echo '<div class="submitted-on">';
    719                 /* translators: 2: comment date, 3: comment time */
    720                 printf( __( '<a href="%1$s">%2$s at %3$s</a>' ), $comment_url,
     718                echo '<a href="' . esc_url( get_comment_link( $comment ) ) . '">';
     719                /* translators: 1: comment date, 2: comment time */
     720                printf( __( '%1$s at %2$s' ),
    721721                        /* translators: comment date format. See http://php.net/date */
    722722                        get_comment_date( __( 'Y/m/d' ), $comment ),
    723723                        get_comment_date( get_option( 'time_format' ), $comment )
    724724                );
     725                echo '</a>';
    725726                echo '</div>';
    726727        }
Note: See TracChangeset for help on using the changeset viewer.