Make WordPress Core

Changeset 39813 for branches/4.3


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

Themes: Fix markup for theme name fallbacks.

Merge of [39807] to the 4.3 branch.

Location:
branches/4.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.3

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

    r36187 r39813  
    698698        switch ( $header ) {
    699699            case 'Name' :
    700                 if ( empty( $value ) )
    701                     $value = $this->get_stylesheet();
     700                if ( empty( $value ) ) {
     701                    $value = esc_html( $this->get_stylesheet() );
     702                }
    702703                break;
    703704            case 'Description' :
Note: See TracChangeset for help on using the changeset viewer.