Make WordPress Core

Changeset 39807 for trunk


Ignore:
Timestamp:
01/11/2017 10:33:33 AM (8 years ago)
Author:
ocean90
Message:

Themes: Fix markup for theme name fallbacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r39736 r39807  
    738738        switch ( $header ) {
    739739            case 'Name' :
    740                 if ( empty( $value ) )
    741                     $value = $this->get_stylesheet();
     740                if ( empty( $value ) ) {
     741                    $value = esc_html( $this->get_stylesheet() );
     742                }
    742743                break;
    743744            case 'Description' :
Note: See TracChangeset for help on using the changeset viewer.