From 24354ccdb4fac605ce4cba964b2aea41314c9b43 Mon Sep 17 00:00:00 2001 From: westi Date: Sun, 23 May 2010 07:43:07 +0000 Subject: [PATCH] Don't output empty html wrappers if no page numbers. Fixes #13497 props filosofo. git-svn-id: http://svn.automattic.com/wordpress/trunk@14813 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/nav-menu.php | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index 71c496157c..24642ebc31 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -633,9 +633,11 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
- + + + - + + +
@@ -805,18 +809,22 @@ function wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy ) {
- + + + - + + +