WordPress.org

Make WordPress Core

Changeset 30901


Ignore:
Timestamp:
12/16/2014 01:39:32 PM (6 years ago)
Author:
ocean90
Message:

Twenty Fifteen: Remove esc_html() from get_the_author().

The display name is sanitized through sanitize_text_field, wp_filter_kses, and _wp_specialchars.

see #30724.

File:
1 edited

Legend:

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

    r30899 r30901  
    8585                _x( 'Author', 'Used before post author name.', 'twentyfifteen' ),
    8686                esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    87                 esc_html( get_the_author() )
     87                get_the_author()
    8888            );
    8989        }
Note: See TracChangeset for help on using the changeset viewer.