Make WordPress Core

Ticket #20897: 20897.2.diff

File 20897.2.diff, 713 bytes (added by georgestephanis, 13 years ago)
  • wp-includes/deprecated.php

     
    31113111                'Status' => $theme->get('Status'),
    31123112                'Tags' => $theme->get('Tags'),
    31133113                'Title' => $theme->get('Name'),
    3114                 'AuthorName' => $theme->display('Author', false, false),
     3114                'AuthorName' => $theme->get('Author'),
    31153115        );
    31163116
     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
    31173122        return $theme_data;
    31183123}
    31193124