Avoid an undefined variable notice. props lightningspirit. fixes #24190.

git-svn-id: https://develop.svn.wordpress.org/trunk@24097 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-04-25 23:31:20 +00:00
parent eaa45fb903
commit be43193b61
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ foreach ( get_object_taxonomies( $post ) as $tax_name ) {
// post format
$format_class = '';
$post_format = '';
$post_format_set_class = '';
$post_format_options = '';
if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) {