Skip to content
Permalink
Browse files

Themes: Fix markup for theme name fallbacks.

Built from https://develop.svn.wordpress.org/trunk@39807


git-svn-id: http://core.svn.wordpress.org/trunk@39745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
ocean90 committed Jan 11, 2017
1 parent cea9e2d commit ce7fb2934dd111e6353784852de8aea2a938b359
Showing with 4 additions and 3 deletions.
  1. +3 −2 wp-includes/class-wp-theme.php
  2. +1 −1 wp-includes/version.php
@@ -737,8 +737,9 @@ private function sanitize_header( $header, $value ) {
private function markup_header( $header, $value, $translate ) {
switch ( $header ) {
case 'Name' :
if ( empty( $value ) )
$value = $this->get_stylesheet();
if ( empty( $value ) ) {
$value = esc_html( $this->get_stylesheet() );
}
break;
case 'Description' :
$value = wptexturize( $value );
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39795';
$wp_version = '4.8-alpha-39807';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 comments on commit ce7fb29

Please sign in to comment.
You can’t perform that action at this time.