[wp-trac] [WordPress Trac] #56594: Change position of "Delete menu" action

WordPress Trac noreply at wordpress.org
Tue Dec 13 02:15:41 UTC 2022


#56594: Change position of "Delete menu" action
-------------------------+------------------------
 Reporter:  90lines      |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Menus        |     Version:  6.0.2
 Severity:  normal       |  Resolution:  duplicate
 Keywords:               |     Focuses:
-------------------------+------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Old description:

> Many have noticed a usability problem with the "delete menu" action on
> wp-admin/nav-menus.php. When editing a menu item the "delete menu" and
> "Remove" actions can be confusing. I think it would be more correct to
> combine this action with the "save menu" button so as to have a single
> area with the actions related to the selected menu.
>
> By editing this nav menu css at row 853
> https://github.com/WordPress/WordPress/blob/master/wp-admin/css/nav-
> menus.css
>
> /**/
> .nav-menus-php .delete-action {
>     float: right;
>     line-height: 2.1;
>     margin: 0 15px;
> }
>
> I found a solution that I think is more usable
>
> https://im.ge/i/11BSdy
> https://im.ge/i/11B1JJ
> https://im.ge/i/11BdPS

New description:

 Many have noticed a usability problem with the "delete menu" action on wp-
 admin/nav-menus.php. When editing a menu item the "delete menu" and
 "Remove" actions can be confusing. I think it would be more correct to
 combine this action with the "save menu" button so as to have a single
 area with the actions related to the selected menu.

 By editing this nav menu css at row 853
 https://github.com/WordPress/WordPress/blob/master/wp-admin/css/nav-
 menus.css

 {{{
 .nav-menus-php .delete-action {
     float: right;
     line-height: 2.1;
     margin: 0 15px;
 }
 }}}

 I found a solution that I think is more usable

 https://im.ge/i/11BSdy
 https://im.ge/i/11B1JJ
 https://im.ge/i/11BdPS

--

Comment:

 Thanks for the report!

 A patch on ticket:40822#comment:28 proposes to put the links together on
 the left side, similar to how they are positioned in Quick Edit and for
 editing Categories and Tags.

 I'll close this as a duplicate so the conversation stays on one ticket. If
 you have anything to add, please comment on #40822.

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


More information about the wp-trac mailing list