From 9043ef83ef5674a645fe2d78b5b72f9a2c1774e4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 17 Apr 2022 17:47:13 +0000 Subject: [PATCH] Docs: Add missing descriptions for function parameters in `wp-admin/includes/meta-boxes.php`. See #54729. Built from https://develop.svn.wordpress.org/trunk@53200 git-svn-id: http://core.svn.wordpress.org/trunk@52789 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 61 +++++++++++++++++--------------- wp-includes/version.php | 2 +- 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 35d6c62bc7..204f0e5963 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -386,7 +386,7 @@ function post_submit_meta_box( $post, $args = array() ) { * * @since 3.5.0 * - * @param WP_Post $post + * @param WP_Post $post Current post object. */ function attachment_submit_meta_box( $post ) { ?> @@ -466,7 +466,7 @@ function attachment_submit_meta_box( $post ) { * * @since 3.1.0 * - * @param WP_Post $post Post object. + * @param WP_Post $post Current post object. * @param array $box { * Post formats meta box arguments. * @@ -511,7 +511,7 @@ endif; * * @todo Create taxonomy-agnostic wrapper for this. * - * @param WP_Post $post Post object. + * @param WP_Post $post Current post object. * @param array $box { * Tags meta box arguments. * @@ -574,7 +574,7 @@ function post_tags_meta_box( $post, $box ) { * * @todo Create taxonomy-agnostic wrapper for this. * - * @param WP_Post $post Post object. + * @param WP_Post $post Current post object. * @param array $box { * Categories meta box arguments. * @@ -696,7 +696,7 @@ function post_categories_meta_box( $post, $box ) { * * @since 2.6.0 * - * @param WP_Post $post + * @param WP_Post $post Current post object. */ function post_excerpt_meta_box( $post ) { ?> @@ -718,7 +718,7 @@ function post_excerpt_meta_box( $post ) { * * @since 2.6.0 * - * @param WP_Post $post + * @param WP_Post $post Current post object. */ function post_trackback_meta_box( $post ) { $form_trackback = ' @@ -1357,7 +1360,7 @@ function link_xfn_meta_box( $link ) { * * @since 2.6.0 * - * @param object $link + * @param object $link Current link object. */ function link_advanced_meta_box( $link ) { ?> @@ -1398,7 +1401,7 @@ function link_advanced_meta_box( $link ) { * * @since 2.9.0 * - * @param WP_Post $post A post object. + * @param WP_Post $post Current post object. */ function post_thumbnail_meta_box( $post ) { $thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true ); @@ -1410,7 +1413,7 @@ function post_thumbnail_meta_box( $post ) { * * @since 3.9.0 * - * @param WP_Post $post A post object. + * @param WP_Post $post Current post object. */ function attachment_id3_data_meta_box( $post ) { $meta = array(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 6705c4d3d5..f3c65a49ac 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta1-53199'; +$wp_version = '6.0-beta1-53200'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.