Make WordPress Core

Changeset 39819 for branches/3.7


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

Themes: Fix markup for theme name fallbacks.

Merge of [39807] to the 3.7 branch.

Location:
branches/3.7
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7

  • branches/3.7/src

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

    r36193 r39819  
    642642                switch ( $header ) {
    643643                        case 'Name' :
    644                                 if ( empty( $value ) )
    645                                         $value = $this->get_stylesheet();
     644                                if ( empty( $value ) ) {
     645                                        $value = esc_html( $this->get_stylesheet() );
     646                                }
    646647                                break;
    647648                        case 'Description' :
Note: See TracChangeset for help on using the changeset viewer.