Make WordPress Core

Changeset 39818


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

Themes: Fix markup for theme name fallbacks.

Merge of [39807] to the 3.8 branch.

Location:
branches/3.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8

  • branches/3.8/src/wp-includes/class-wp-theme.php

    r36192 r39818  
    651651        switch ( $header ) {
    652652            case 'Name' :
    653                 if ( empty( $value ) )
    654                     $value = $this->get_stylesheet();
     653                if ( empty( $value ) ) {
     654                    $value = esc_html( $this->get_stylesheet() );
     655                }
    655656                break;
    656657            case 'Description' :
Note: See TracChangeset for help on using the changeset viewer.