Remove unused variable. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b065fc6c3d
commit
b59bcc8720
|
@ -248,7 +248,6 @@ function post_format_meta_box( $post, $box ) {
|
|||
$post_format = get_post_format( $post->ID );
|
||||
if ( !$post_format )
|
||||
$post_format = '0';
|
||||
$post_format_display = get_post_format_string( $post_format );
|
||||
// Add in the current one if it isn't there yet, in case the current theme doesn't support it
|
||||
if ( $post_format && !in_array( $post_format, $post_formats[0] ) )
|
||||
$post_formats[0][] = $post_format;
|
||||
|
|
Loading…
Reference in New Issue