[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
Thu Jul 21 19:18:38 UTC 2016

#37211: Incorrect docs for second param of
 Reporter:  ocean90                              |       Owner:
     Type:  defect (bug)                         |  mehulkaklotar
 Priority:  low                                  |      Status:  assigned
Component:  Menus                                |   Milestone:  4.6
 Severity:  normal                               |     Version:  3.0
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  refresh                                        |     Focuses:  docs

Comment (by SergeyBiryukov):

 In [changeset:"38129"]:
 #!CommitTicketReference repository="" revision="38129"
 Menus: In `wp_nav_menu_item_post_type_meta_box()`:

 * Rename the `$post_type` parameter to `$box` for clarity and consistency
 with other meta box functions.
 * Make the docs more consistent with `post_format_meta_box()` and other
 meta box functions.
 * Correct type and description for the third argument of
 `nav_menu_items_{$post_type_name}_recent` filter.

 See #37211.

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

More information about the wp-trac mailing list