Docs: Correct and expand the docs for the $taxonomy argument of wp_nav_menu_item_taxonomy_meta_box().

Props mehulkaklotar for initial patch.
See #37211.
Built from https://develop.svn.wordpress.org/trunk@38128


git-svn-id: http://core.svn.wordpress.org/trunk@38069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-07-21 18:01:29 +00:00
parent 6bcbeb858d
commit 550bc85e06
2 changed files with 9 additions and 2 deletions

View File

@ -584,7 +584,14 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
* @global int|string $nav_menu_selected_id
*
* @param string $object Not used.
* @param string $taxonomy The taxonomy object.
* @param array $taxonomy {
* Data that will be used as arguments of the taxonomy meta box.
*
* @type string $id Meta box ID (used in the 'id' attribute for the meta box).
* @type string $title Title of the meta box.
* @type string $callback Function that fills the box with the desired content.
* @type object $args The current taxonomy object for this menu item meta box.
* }
*/
function wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy ) {
global $nav_menu_selected_id;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-beta4-38127';
$wp_version = '4.6-beta4-38128';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.