Make WordPress Core


Ignore:
Timestamp:
12/19/2010 05:36:11 AM (14 years ago)
Author:
nacin
Message:

Allow dfault post format selections. fixes #15882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r17001 r17056  
    248248        $post_format = get_post_format( $post->ID );
    249249        if ( !$post_format )
    250             $post_format = '0';
     250            $post_format = get_option('default_post_format', '0');
    251251        $post_format_display = get_post_format_string( $post_format );
    252252        // Add in the current one if it isn't there yet, in case the current theme doesn't support it
Note: See TracChangeset for help on using the changeset viewer.