[wp-trac] [WordPress Trac] #47555: Add per_page filter to nav-menu.php
WordPress Trac
noreply at wordpress.org
Thu Aug 1 12:54:13 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 | Focuses:
-----------------------------------+------------------------
Changes (by audrasjb):
* keywords: has-patch needs-refresh => has-patch 2nd-opinion
Comment:
In `47555.1.diff`:
- Add inline documentation for `nav_menu_metabox_per_page_number` filter.
- Use `absint()` function to ensure to get a proper integer.
Adding `2nd-opinion` keyword to get a second opinion on that.
Adding `needs-dev-note` keyword: if this patch is released, the new filter
would maybe deserve a dev-note (but not sure if we need it since this is a
very small enhancement).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47555#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list