diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 35e4e1eb09..656b953058 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -997,6 +997,11 @@ div.tabs-panel-inactive { display: none; } +div.tabs-panel-active:focus { + box-shadow: inset 0 0 0 1px #5b9dd9, inset 0 0 2px 1px rgba(30, 140, 190, 0.8); + outline: 0 none; +} + #front-page-warning, #front-static-pages ul, ul.export-filters, diff --git a/src/wp-admin/includes/nav-menu.php b/src/wp-admin/includes/nav-menu.php index d4d7d01a69..759c152fc0 100644 --- a/src/wp-admin/includes/nav-menu.php +++ b/src/wp-admin/includes/nav-menu.php @@ -335,6 +335,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $box ) { global $_nav_menu_placeholder, $nav_menu_selected_id; $post_type_name = $box['args']->name; + $post_type = get_post_type_object( $post_type_name ); // Paginate browsing for large numbers of post objects. $per_page = 50; @@ -517,7 +518,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $box ) { -