WordPress.org

Make WordPress Core

Ticket #20897: 20897.patch

File 20897.patch, 639 bytes (added by SergeyBiryukov, 23 months ago)
  • wp-includes/deprecated.php

     
    31143114                'AuthorName' => $theme->display('Author', false, false), 
    31153115        ); 
    31163116 
     3117        if ( $extra_headers = apply_filters( 'extra_theme_headers', array() ) ) { 
     3118                $extra_headers = array_combine( $extra_headers, $extra_headers ); // keys equal values 
     3119                foreach ( $extra_headers as $key ) 
     3120                        $extra_headers[ $key ] = $theme->get( $key ); 
     3121                $theme_data = array_merge( $extra_headers, $theme_data ); 
     3122        } 
     3123 
    31173124        return $theme_data; 
    31183125} 
    31193126