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:
parent
eaa45fb903
commit
be43193b61
|
@ -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 ) ) {
|
||||
|
|
Loading…
Reference in New Issue