Docs: Improve documentation for do_meta_boxes action.

Props felipeelia, killua99, SergeyBiryukov.
Fixes #46542.
Built from https://develop.svn.wordpress.org/trunk@46071


git-svn-id: http://core.svn.wordpress.org/trunk@45883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-09-06 00:06:56 +00:00
parent 6cab9557fb
commit c1e3b68b19
2 changed files with 6 additions and 4 deletions

View File

@ -1549,9 +1549,11 @@ function register_and_do_post_meta_boxes( $post ) {
* *
* @since 3.0.0 * @since 3.0.0
* *
* @param string $post_type Post type of the post. * @param string $post_type Post type of the post on Edit Post screen, 'link' on Edit Link screen,
* @param string $context string Meta box context. * 'dashboard' on Dashboard screen.
* @param WP_Post $post Post object. * @param string $context Meta box context. Possible values include 'normal', 'advanced', 'side'.
* @param WP_Post|object|string $post Post object on Edit Post screen, link object on Edit Link screen,
* an empty string on Dashboard screen.
*/ */
do_action( 'do_meta_boxes', $post_type, 'normal', $post ); do_action( 'do_meta_boxes', $post_type, 'normal', $post );
/** This action is documented in wp-admin/includes/meta-boxes.php */ /** This action is documented in wp-admin/includes/meta-boxes.php */

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-46070'; $wp_version = '5.3-alpha-46071';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.