WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/05/2015 08:45:13 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Merge two strings in Walker_Comment::comment() and Walker_Comment::html5_comment().

Props pavelevap.
Fixes #33744.

File:
1 edited

Legend:

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

    r33891 r33919  
    19351935        <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID, $args ) ); ?>">
    19361936            <?php
    1937                 /* translators: 1: date, 2: time */
     1937                /* translators: 1: comment date, 2: comment time */
    19381938                printf( __( '%1$s at %2$s' ), get_comment_date(),  get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)' ), '&nbsp;&nbsp;', '' );
    19391939            ?>
     
    19841984                        <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID, $args ) ); ?>">
    19851985                            <time datetime="<?php comment_time( 'c' ); ?>">
    1986                                 <?php printf( _x( '%1$s at %2$s', '1: date, 2: time' ), get_comment_date(), get_comment_time() ); ?>
     1986                                <?php
     1987                                    /* translators: 1: comment date, 2: comment time */
     1988                                    printf( __( '%1$s at %2$s' ), get_comment_date(), get_comment_time() );
     1989                                ?>
    19871990                            </time>
    19881991                        </a>
Note: See TracChangeset for help on using the changeset viewer.