Make WordPress Core

Changeset 39809 for branches/4.7


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

Themes: Fix markup for theme name fallbacks.

Merge of [39807] to the 4.7 branch.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

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

    r39236 r39809  
    722722        switch ( $header ) {
    723723            case 'Name' :
    724                 if ( empty( $value ) )
    725                     $value = $this->get_stylesheet();
     724                if ( empty( $value ) ) {
     725                    $value = esc_html( $this->get_stylesheet() );
     726                }
    726727                break;
    727728            case 'Description' :
Note: See TracChangeset for help on using the changeset viewer.