[wp-trac] [WordPress Trac] #41351: Searching for a category returns nothing if category is empty

WordPress Trac noreply at wordpress.org
Wed Jul 19 02:50:54 UTC 2017


#41351: Searching for a category returns nothing if category is empty
---------------------------+------------------------------
 Reporter:  jackjohansson  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Menus          |     Version:  4.8
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  administration
---------------------------+------------------------------

Comment (by jackjohansson):

 I've added the second patch. This updates 3 files, `wp-admin/includes/nav-
 menu.php`, `wp-admin/js/nav-menu.js` and the minified version of it `wp-
 admin/js/nav-menu.min.js`.

 This patch is tested for categories, tags and custom taxonomies, both
 under AJAX and while having js disabled.

 What this patch does it basically sending an extra argument to the server,
 allowing the user the include/exclude empty taxonomies from the list.

 Feedbacks from testers are appreciated.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41351#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list