Make WordPress Core

Changeset 39812


Ignore:
Timestamp:
01/11/2017 11:08:51 AM (9 years ago)
Author:
ocean90
Message:

Themes: Fix markup for theme name fallbacks.

Merge of [39807] to the 4.4 branch.

Location:
branches/4.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4

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

    r36186 r39812  
    710710        switch ( $header ) {
    711711            case 'Name' :
    712                 if ( empty( $value ) )
    713                     $value = $this->get_stylesheet();
     712                if ( empty( $value ) ) {
     713                    $value = esc_html( $this->get_stylesheet() );
     714                }
    714715                break;
    715716            case 'Description' :
Note: See TracChangeset for help on using the changeset viewer.