WordPress.org

Make WordPress Core

Changeset 35665


Ignore:
Timestamp:
11/18/2015 05:32:08 PM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <a> tag from translatable string in wp-admin/comment.php.

Props ramiy.
See #34686.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/comment.php

    r34304 r35665  
    195195    <th scope="row"><?php _e( 'Submitted on' ); ?></th>
    196196    <td>
    197     <?php
    198         /* translators: 2: comment date, 3: comment time */
    199         printf( __( '<a href="%1$s">%2$s at %3$s</a>' ),
    200             esc_url( get_comment_link( $comment ) ),
    201             /* translators: comment date format. See http://php.net/date */
    202             get_comment_date( __( 'Y/m/d' ), $comment ),
    203             get_comment_date( get_option( 'time_format' ), $comment )
    204         );
    205     ?>
     197        <a href="<?php echo esc_url( get_comment_link( $comment ) ); ?>"><?php
     198            /* translators: 1: comment date, 2: comment time */
     199            printf( __( '%1$s at %2$s' ),
     200                /* translators: comment date format. See http://php.net/date */
     201                get_comment_date( __( 'Y/m/d' ), $comment ),
     202                get_comment_date( get_option( 'time_format' ), $comment )
     203            );
     204        ?></a>
    206205    </td>
    207206</tr>
Note: See TracChangeset for help on using the changeset viewer.