Don't check for post format support when registering the post format taxonomy. fixes #16146.

git-svn-id: https://develop.svn.wordpress.org/trunk@17240 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-01-07 21:23:52 +00:00
parent d95ed80091
commit eb5b299e70
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function create_initial_taxonomies() {
) );
$rewrite = false;
if ( did_action( 'init' ) && current_theme_supports( 'post-formats' ) ) {
if ( did_action( 'init' ) ) {
$rewrite = apply_filters( 'post_format_rewrite_base', 'type' );
$rewrite = $rewrite ? array( 'slug' => $rewrite ) : false;
}