WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/12/2010 06:33:14 PM (10 years ago)
Author:
ryan
Message:

Post formats, take one. see #14746

File:
1 edited

Legend:

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

    r15756 r15777  
    7171        'show_ui' => false,
    7272        '_builtin' => true,
     73    ) ) ;
     74
     75    register_taxonomy( 'post_format', array('post', 'page', 'attachment'), array(
     76        'hierarchical' => false,
     77        'labels' => array(
     78            'name' => '',
     79            'singular_name' => '',
     80        ),
     81        'query_var' => false,
     82        'rewrite' => false,
     83        'show_ui' => false,
     84        '_builtin' => true,
     85        'show_in_nav_menus' => false,
    7386    ) ) ;
    7487}
Note: See TracChangeset for help on using the changeset viewer.