Ticket #20897: 20897.2.diff
File 20897.2.diff, 713 bytes (added by , 13 years ago) |
---|
-
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( in_array( $extra_header, array( 'URI', 'Description', 'Author', 'AuthorURI' ) ) ) continue; 3119 $theme_data[ $extra_header ] = $theme->get( $extra_header ); 3120 } 3121 3117 3122 return $theme_data; 3118 3123 } 3119 3124