From be43193b61b976ccef671bfba67d49a55251bc65 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 25 Apr 2013 23:31:20 +0000 Subject: [PATCH] Avoid an undefined variable notice. props lightningspirit. fixes #24190. git-svn-id: https://develop.svn.wordpress.org/trunk@24097 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-form-advanced.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index d92e8c4b62..8eecfe1ba4 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -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 ) ) {