[wp-trac] [WordPress Trac] #43176: Nav Menu Search - support search by ID
WordPress Trac
noreply at wordpress.org
Mon Jan 29 16:01:01 UTC 2018
#43176: Nav Menu Search - support search by ID
--------------------------------+-----------------------------
Reporter: billerickson | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: trunk
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
On sites that have lots of content with similar names, it can be almost
impossible to find the correct page using the search tab. One way to fix
this is described in #38224 (changing the number of posts returned, or
providing a filter so developers can change it).
Another option would be to check if the search query is_numeric(), and if
so, search for a page with that ID. This could either be implemented in
core directly, or appropriate filters could be provided so a plugin could
implement this functionality.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43176>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list