[wp-trac] [WordPress Trac] #37211: Incorrect docs for second param of `wp_nav_menu_item_(taxonomy|post_type)_meta_box()`

WordPress Trac noreply at wordpress.org
Tue Jun 28 14:51:28 UTC 2016


#37211: Incorrect docs for second param of
`wp_nav_menu_item_(taxonomy|post_type)_meta_box()`
----------------------------------------+-------------------
 Reporter:  ocean90                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.6
Component:  Menus                       |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  docs
----------------------------------------+-------------------

Comment (by ocean90):

 `$posttype` is also passed to `"nav_menu_items_{$post_type_name}_recent"`
 which should be `$posttype[args]` or the result of
 `get_post_type_object()` like it's done for
 `"nav_menu_items_{$post_type_name}"`.

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


More information about the wp-trac mailing list