[wp-trac] [WordPress Trac] #45298: Menu Quick Search: Allow searching for empty taxonomy terms

WordPress Trac noreply at wordpress.org
Fri Feb 1 12:15:38 UTC 2019


#45298: Menu Quick Search: Allow searching for empty taxonomy terms
-------------------------------------------------+-------------------------
 Reporter:  birgire                              |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Menus                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch 2nd-       |     Focuses:
  opinion has-unit-tests                         |  administration
-------------------------------------------------+-------------------------
Changes (by birgire):

 * keywords:  has-screenshots has-patch 2nd-opinion => has-screenshots has-
     patch 2nd-opinion has-unit-tests


Comment:

 Thank you for the patch @audrasjb

 [attachment:"45298-2.diff"] adds unit tests for both cases (i.e. for the
 Admin Menu page and the Customizer).

 It also adjusts the test in
 {{{WP_Customize_Nav_Menus::search_available_items_query}}} that assumed
 that the ''Uncategorized'' category would not show up in the quick search
 results.

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


More information about the wp-trac mailing list