WordPress.org

Make WordPress Core

Changeset 17240


Ignore:
Timestamp:
01/07/2011 09:23:52 PM (11 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r17228 r17240  
    7979
    8080    $rewrite = false;
    81     if ( did_action( 'init' ) && current_theme_supports( 'post-formats' ) ) {
     81    if ( did_action( 'init' ) ) {
    8282        $rewrite = apply_filters( 'post_format_rewrite_base', 'type' );
    8383        $rewrite = $rewrite ? array( 'slug' => $rewrite ) : false;
Note: See TracChangeset for help on using the changeset viewer.