Ticket #24034: patch-post-format-filter-fix.diff
File patch-post-format-filter-fix.diff, 725 bytes (added by , 12 years ago) |
---|
-
wp-admin/edit-form-advanced.php
128 128 129 129 // post format 130 130 $format_class = ''; 131 $post_format_options = ''; 131 132 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'show_post_format_ui', true, $post ) ) { 132 133 wp_enqueue_script( 'post-formats' ); 133 134 wp_enqueue_script( 'wp-mediaelement' ); … … 172 173 'description' => __( 'An aside is a quick thought or side topic. Use the editor to compose one.' ) 173 174 ) 174 175 ); 175 $post_format_options = '';176 176 177 177 foreach ( $all_post_formats as $slug => $attr ) { 178 178 $class = '';