Remove unused variable. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@17769 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ef5ae46a9d
commit
f1747e6f35
@ -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
Block a user