WordPress.org

Make WordPress Core

Changeset 19876


Ignore:
Timestamp:
02/08/2012 05:12:02 PM (9 years ago)
Author:
duck_
Message:

Post formats should show_in_nav_menus when the current theme supports them. Props filosofo, nacin. Fixes #16390.

File:
1 edited

Legend:

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

    r19779 r19876  
    108108        'show_ui' => false,
    109109        '_builtin' => true,
    110         'show_in_nav_menus' => false,
     110        'show_in_nav_menus' => current_theme_supports( 'post-formats' ),
    111111    ) );
    112112}
Note: See TracChangeset for help on using the changeset viewer.