Docs: In meta box functions, clarify that "Meta box ID" refers to the `id` attribute of the meta box and not a numeric ID.
Fixes #37211. Built from https://develop.svn.wordpress.org/trunk@38131 git-svn-id: http://core.svn.wordpress.org/trunk@38072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97fd7d829f
commit
0a9bfead1c
|
@ -13,7 +13,7 @@
|
|||
* @param array $args {
|
||||
* Array of arguments for building the post submit meta box.
|
||||
*
|
||||
* @type string $id Meta box ID.
|
||||
* @type string $id Meta box 'id' attribute.
|
||||
* @type string $title Meta box title.
|
||||
* @type callable $callback Meta box display callback.
|
||||
* @type array $args Extra meta box arguments.
|
||||
|
@ -353,7 +353,7 @@ function attachment_submit_meta_box( $post ) {
|
|||
* @param array $box {
|
||||
* Post formats meta box arguments.
|
||||
*
|
||||
* @type string $id Meta box ID.
|
||||
* @type string $id Meta box 'id' attribute.
|
||||
* @type string $title Meta box title.
|
||||
* @type callable $callback Meta box display callback.
|
||||
* @type array $args Extra meta box arguments.
|
||||
|
@ -394,7 +394,7 @@ function post_format_meta_box( $post, $box ) {
|
|||
* @param array $box {
|
||||
* Tags meta box arguments.
|
||||
*
|
||||
* @type string $id Meta box ID.
|
||||
* @type string $id Meta box 'id' attribute.
|
||||
* @type string $title Meta box title.
|
||||
* @type callable $callback Meta box display callback.
|
||||
* @type array $args {
|
||||
|
@ -455,7 +455,7 @@ function post_tags_meta_box( $post, $box ) {
|
|||
* @param array $box {
|
||||
* Categories meta box arguments.
|
||||
*
|
||||
* @type string $id Meta box ID.
|
||||
* @type string $id Meta box 'id' attribute.
|
||||
* @type string $title Meta box title.
|
||||
* @type callable $callback Meta box display callback.
|
||||
* @type array $args {
|
||||
|
|
|
@ -300,7 +300,7 @@ function wp_nav_menu_item_link_meta_box() {
|
|||
* @param array $box {
|
||||
* Post type menu item meta box arguments.
|
||||
*
|
||||
* @type string $id Meta box ID (used in the 'id' attribute for the meta box).
|
||||
* @type string $id Meta box 'id' attribute.
|
||||
* @type string $title Meta box title.
|
||||
* @type string $callback Meta box display callback.
|
||||
* @type WP_Post_Type $args Extra meta box arguments (the post type object for this meta box).
|
||||
|
@ -587,7 +587,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $box ) {
|
|||
* @param array $box {
|
||||
* 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 $id Meta box 'id' attribute.
|
||||
* @type string $title Meta box title.
|
||||
* @type string $callback Meta box display callback.
|
||||
* @type object $args Extra meta box arguments (the taxonomy object for this meta box).
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-beta4-38130';
|
||||
$wp_version = '4.6-beta4-38131';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue