mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Themes: Fix markup for theme name fallbacks.
Merge of [39807] to the 4.3 branch. git-svn-id: https://develop.svn.wordpress.org/branches/4.3@39813 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cc09f06ac9
commit
11a2af0ac9
@ -697,8 +697,9 @@ final class WP_Theme implements ArrayAccess {
|
|||||||
private function markup_header( $header, $value, $translate ) {
|
private function markup_header( $header, $value, $translate ) {
|
||||||
switch ( $header ) {
|
switch ( $header ) {
|
||||||
case 'Name' :
|
case 'Name' :
|
||||||
if ( empty( $value ) )
|
if ( empty( $value ) ) {
|
||||||
$value = $this->get_stylesheet();
|
$value = esc_html( $this->get_stylesheet() );
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'Description' :
|
case 'Description' :
|
||||||
$value = wptexturize( $value );
|
$value = wptexturize( $value );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user