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:
parent
d95ed80091
commit
eb5b299e70
@ -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
Block a user