Ticket #20897: 20897.4.diff
File 20897.4.diff, 1.2 KB (added by , 13 years ago) |
---|
-
wp-includes/class-wp-theme.php
563 563 public function display( $header, $markup = true, $translate = true ) { 564 564 $value = $this->get( $header ); 565 565 566 if ( empty( $value ) || ! $this->load_textdomain() )566 if ( $translate && ( empty( $value ) || ! $this->load_textdomain() ) ) 567 567 $translate = false; 568 568 569 569 if ( $translate ) -
wp-includes/deprecated.php
3111 3111 'Status' => $theme->get('Status'), 3112 3112 'Tags' => $theme->get('Tags'), 3113 3113 'Title' => $theme->get('Name'), 3114 'AuthorName' => $theme-> display('Author', false, false),3114 'AuthorName' => $theme->get('Author'), 3115 3115 ); 3116 3116 3117 foreach ( apply_filters( 'extra_theme_headers', array() ) as $extra_header ) { 3118 if ( ! isset( $theme_data[ $extra_header ] ) ) 3119 $theme_data[ $extra_header ] = $theme->get( $extra_header ); 3120 } 3121 3117 3122 return $theme_data; 3118 3123 } 3119 3124