git-svn-id: http://svn.automattic.com/wordpress/trunk@16684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2010-12-02 05:47:17 +00:00
parent b608e8ca3e
commit 3e539e8448
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' );