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

git-svn-id: http://core.svn.wordpress.org/trunk@24097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-04-25 23:31:20 +00:00
parent f37038e6ac
commit 57cb2a36bb
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 // post format
$format_class = ''; $format_class = '';
$post_format = '';
$post_format_set_class = ''; $post_format_set_class = '';
$post_format_options = ''; $post_format_options = '';
if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) { if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) {