git-svn-id: https://develop.svn.wordpress.org/trunk@16684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2010-12-02 05:47:17 +00:00
parent 2c2a407227
commit a2a3977b3c
1 changed files with 7 additions and 1 deletions

View File

@ -230,7 +230,13 @@ if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0
<?php
}
/**
* Display post format form elements.
*
* @since 3.1.0
*
* @param object $post
*/
function post_format_meta_box( $post, $box ) {
if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post->post_type, 'post-formats' ) ) :
$post_formats = get_theme_support( 'post-formats' );