PHPDoc. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16684 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2c2a407227
commit
a2a3977b3c
|
@ -230,7 +230,13 @@ if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display post format form elements.
|
||||||
|
*
|
||||||
|
* @since 3.1.0
|
||||||
|
*
|
||||||
|
* @param object $post
|
||||||
|
*/
|
||||||
function post_format_meta_box( $post, $box ) {
|
function post_format_meta_box( $post, $box ) {
|
||||||
if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post->post_type, 'post-formats' ) ) :
|
if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post->post_type, 'post-formats' ) ) :
|
||||||
$post_formats = get_theme_support( 'post-formats' );
|
$post_formats = get_theme_support( 'post-formats' );
|
||||||
|
|
Loading…
Reference in New Issue