mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
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:
parent
f37038e6ac
commit
57cb2a36bb
@ -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
Block a user