diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index e6a3d710fc..d46f8b8ed3 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -179,8 +179,6 @@ if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'show_po if ( $post_format == $slug ) { $class = 'class="active"'; $active_post_type_slug = $slug; - $active_post_type_label = ucfirst( $slug ); - $active_post_format_description = $attr['description']; } $post_format_options .= '
';