Make WordPress Core


Ignore:
Timestamp:
12/02/2010 02:42:38 AM (14 years ago)
Author:
markjaquith
Message:

Move Post Format UI out of Publish meta box and into its own box. see #15638

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r16666 r16678  
    109109add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', $post_type, 'side', 'core');
    110110
     111if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post_type, 'post-formats' ) )
     112    add_meta_box( 'formatdiv', __('Format'), 'post_format_meta_box', $post_type, 'side', 'core' );
     113
    111114// all taxonomies
    112115foreach ( get_object_taxonomies($post_type) as $tax_name ) {
Note: See TracChangeset for help on using the changeset viewer.