From 3348a6a0ada5ed8ad13f1994e6ae8babbbe10c23 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 1 May 2013 02:38:51 +0000 Subject: [PATCH] Avoid an undefined variable notice. fixes #24236. git-svn-id: http://core.svn.wordpress.org/trunk@24149 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 61e52cc9ca..8c441dd590 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -155,7 +155,6 @@ if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_ $format_class = " class='wp-format-{$post_format}'"; - $all_post_formats = array( 'standard' => array ( 'description' => __( 'Use the editor below to compose your post.' ) @@ -422,9 +421,11 @@ wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
> +
+