[wp-trac] [WordPress Trac] #19514: Add Per Page Filter for Nav Menu Post Type Meta Box

WordPress Trac noreply at wordpress.org
Fri Oct 17 04:20:51 UTC 2014


#19514: Add Per Page Filter for Nav Menu Post Type Meta Box
------------------------------------------------+--------------------------
 Reporter:  wpsmith                             |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Menus                               |  Review
 Severity:  normal                              |     Version:
 Keywords:  has-patch needs-refresh needs-docs  |  Resolution:
                                                |     Focuses:
------------------------------------------------+--------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch => has-patch needs-refresh needs-docs
 * component:  General => Menus


Comment:

 I agree that the filter should be renamed to something more obvious, maybe
 even something like `wp_nav_menu_posts_per_page`, or mimicking the list
 table *per_page hook, `wp_nav_menu_{$post_type}_per_page`.

 At the very least, the patch will need a refresh and regeneration from the
 root directory. The filter will also need
 [https://make.wordpress.org/core/handbook/inline-documentation-standards
 /php-documentation-standards/#4-hooks-actions-and-filters hook docs].

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


More information about the wp-trac mailing list