[wp-trac] [WordPress Trac] #23119: UI Improvements to nav-menus.php
WordPress Trac
noreply at wordpress.org
Fri Jan 11 02:25:35 UTC 2013
#23119: UI Improvements to nav-menus.php
-------------------------------------+------------------
Reporter: lessbloat | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Comment (by jkudish):
Replying to [http://core.trac.wordpress.org/ticket/23119#comment:73
SergeyBiryukov]:
> And actually, what would the workflow be if you searched? Does it just
filter down the list table view?
Yes, that's correct, it uses the `s` paramater from
`wp_get_nav_menu_items` which trickles down to `get_terms` and performs a
`%search_term%` `LIKE` query.
Reply to [http://core.trac.wordpress.org/ticket/23119#comment:74
DrewAPicture]
> I haven't poked into 23119.14 yet, so just wondering about row actions.
Has there been discussion about what row actions we might want for the
list view?
For now the only row actions are 'Delete' and 'Edit'. lessbloat suggested
adding a duplicate function, but that should be a separate ticket and
would involve extra API work to allow duplicating menus.
In [http://core.trac.wordpress.org/attachment/ticket/23119/23119.16.diff]:
* Deletion and bulk deletion now works.
* Search now only appears if there are more than X number of menus, where
X is currently set to 20 (which is the default `per_page` value). This
value is filterable by plugins of course.
* Search bar (when visible) now appears above the table, for consistency's
sake.
* Some code-cleanup but there's still lots of that to do.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23119#comment:75>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list