From 4240fe532c6cc175207487abcaf209543efda2d5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 13 Oct 2015 06:59:34 +0000 Subject: [PATCH] Acessibility: "Add New Category" links on Edit Post screen should not be a header. Props afercia. Fixes #33557. git-svn-id: https://develop.svn.wordpress.org/trunk@35129 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/meta-boxes.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 1115213730..e7aa1c126f 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -505,14 +505,12 @@ function post_categories_meta_box( $post, $box ) { cap->edit_terms ) ) : ?>
-

- - labels->add_new_item ); - ?> - -

+ + labels->add_new_item ); + ?> +

@@ -941,7 +939,7 @@ function link_categories_meta_box($link) {

-

+