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

git-svn-id: http://svn.automattic.com/wordpress/trunk@17240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-01-07 21:23:52 +00:00
parent 536564b8ff
commit b95f4faa2d
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;
}