[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:20:52 UTC 2016


#37211: Incorrect docs for second param of
`wp_nav_menu_item_(taxonomy|post_type)_meta_box()`
-------------------------------------------------+-------------------------
 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:"38130"]:
 {{{
 #!CommitTicketReference repository="" revision="38130"
 Menus: In `wp_nav_menu_item_taxonomy_meta_box()`:

 * Rename the `$taxonomy` parameter to `$box` for clarity and consistency
 with other meta box functions.
 * Make the docs more consistent with `post_categories_meta_box()` and
 other meta box functions.

 See #37211.
 }}}

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


More information about the wp-trac mailing list