[wp-trac] [WordPress Trac] #53654: Menus: Hide bulk-select options when no menus exist

WordPress Trac noreply at wordpress.org
Wed Jul 14 00:37:35 UTC 2021


#53654: Menus: Hide bulk-select options when no menus exist
--------------------------+-----------------------------
 Reporter:  dlh           |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 The new "Bulk Select" checkbox and "Remove Selected Items" button are
 shown to the user even when no menus exist and the user is being invited
 to create their first menu.

 Arguably, the new checkbox and button look somewhat awkward next to the
 "Give your menu a name..." instructions, and they conflict with the fact
 that the meta boxes for adding new items are disabled when no menus exist.

 While the new checkbox and button are also visible when a menu exists but
 has no items, their being visible in that case is at least a little more
 consistent with the bulk-select checkbox on post list tables, which is
 also visible when the list table has no rows.

 The linked PR would hide the bulk-select options when no menus exist, but
 a case could be made for disabling them instead to match the add-new meta
 boxes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53654>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list