[wp-trac] [WordPress Trac] #47555: Add per_page filter to nav-menu.php
WordPress Trac
noreply at wordpress.org
Thu Aug 1 15:09:44 UTC 2019
#47555: Add per_page filter to nav-menu.php
--------------------------------------------------+------------------------
Reporter: Martin Snajdr | Owner: audrasjb
Type: enhancement | Status: reviewing
Priority: low | Milestone: 5.3
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion needs-dev-note | Focuses:
--------------------------------------------------+------------------------
Comment (by SergeyBiryukov):
> Right now there is a hardcoded number of posts / terms (50) displayed
per page in wp-admin/includes/nav-menu.php
FWIW, this value is already filterable via `get_terms_args`, see an
example in #18282:
https://core.trac.wordpress.org/attachment/ticket/18282/preserve-page-and-
taxonomy-hierarchy.php
A dedicated filter might still be helpful though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47555#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list