From af71a8c16d065bcf6bcbce2fe16c2f027ce7868f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 26 Apr 2013 12:36:12 +0000 Subject: [PATCH] Remove unused variable and CSS class. see #24046. git-svn-id: https://develop.svn.wordpress.org/trunk@24099 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/wp-admin.css | 8 -------- wp-admin/edit-form-advanced.php | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/wp-admin/css/wp-admin.css b/wp-admin/css/wp-admin.css index 6b2818de75..786c3cf521 100644 --- a/wp-admin/css/wp-admin.css +++ b/wp-admin/css/wp-admin.css @@ -4148,14 +4148,6 @@ body .ui-tooltip { margin-top: 4px; } -.post-format-set .post-format-options { - display: none; -} - -.post-format-set .post-format-change { - display: block; -} - #poststuff .post-format-change { margin: -7px 0 13px 2px; padding: 0; diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 40d69565c7..41f22b7727 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -129,7 +129,6 @@ 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 ) ) { wp_enqueue_script( 'post-formats' ); @@ -373,7 +372,7 @@ if ( 'post' == $post_type ) { require_once('./admin-header.php'); ?> -
+