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:
parent
536564b8ff
commit
b95f4faa2d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue