Make WordPress Core

Changeset 39817


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

Themes: Fix markup for theme name fallbacks.

Merge of [39807] to the 3.9 branch.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

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

    r36191 r39817  
    655655        switch ( $header ) {
    656656            case 'Name' :
    657                 if ( empty( $value ) )
    658                     $value = $this->get_stylesheet();
     657                if ( empty( $value ) ) {
     658                    $value = esc_html( $this->get_stylesheet() );
     659                }
    659660                break;
    660661            case 'Description' :
Note: See TracChangeset for help on using the changeset viewer.