Index: wp-admin/edit-form-advanced.php
===================================================================
--- wp-admin/edit-form-advanced.php	(revision 23948)
+++ wp-admin/edit-form-advanced.php	(working copy)
@@ -128,6 +128,7 @@
 
 // post format
 $format_class = '';
+$post_format_options = '';
 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'show_post_format_ui', true, $post ) ) {
 	wp_enqueue_script( 'post-formats' );
 	wp_enqueue_script( 'wp-mediaelement' );
@@ -172,7 +173,6 @@
 			'description' => __( 'An aside is a quick thought or side topic. Use the editor to compose one.' )
 		)
 	);
-	$post_format_options = '';
 
 	foreach ( $all_post_formats as $slug => $attr ) {
 		$class = '';
