[wp-trac] [WordPress Trac] #35576: Menus the "Select All" link should be hidden in the "quick search" tab

WordPress Trac noreply at wordpress.org
Fri Feb 26 21:04:25 UTC 2016


#35576: Menus the "Select All" link should be hidden in the "quick search" tab
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Menus                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots good-    |     Focuses:  ui, accessibility,
  first-bug has-patch                |  javascript
-------------------------------------+-------------------------------------

Comment (by tywayne):

 [[Image(https://cldup.com/LVSJZ3Xdik.gif)]]

 Applied patch and tested. Partially worked for me, but doesn't handle
 switching between tabs as shown.

 Additionally, as feedback on the patch itself, I think this could be done
 much more simply. Shouldn't need to add a new function, but rather toggle
 a CSS class, or use js with `show()` / `hide()` in the existing
 `processQuickSearchQueryResponse` function, and the check for items and
 toggle accordingly in the `attachTabsPanelListeners` to catch switching
 between tabs.

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


More information about the wp-trac mailing list