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.

git-svn-id: https://develop.svn.wordpress.org/trunk@38131 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-07-21 19:23:56 +00:00
parent 58e390d1ac
commit 0c1b988a63
2 changed files with 6 additions and 6 deletions

View File

@ -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 {

View File

@ -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).