Make WordPress Core

Changeset 30905


Ignore:
Timestamp:
12/16/2014 02:18:48 PM (10 years ago)
Author:
ocean90
Message:

Twenty Fifteen: Remove unnecessary esc_html() from get_the_date() and get_the_modified_date().

see #30724.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/inc/template-tags.php

    r30901 r30905  
    6868        $time_string = sprintf( $time_string,
    6969            esc_attr( get_the_date( 'c' ) ),
    70             esc_html( get_the_date() ),
     70            get_the_date(),
    7171            esc_attr( get_the_modified_date( 'c' ) ),
    72             esc_html( get_the_modified_date() )
     72            get_the_modified_date()
    7373        );
    7474
Note: See TracChangeset for help on using the changeset viewer.