From de70e2c68b79559c1dfb321345b83fed0ccf3c52 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 6 Sep 2021 13:36:01 +0000 Subject: [PATCH] Docs: Correct the `post_submitbox_minor_actions` hook description. The action fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons in the Publish meta box. The previous description stated that the action fires before the post date/time setting, which was not quite correct, as there are also post status and visibility settings between the action and the date/time setting. Follow-up to [34895]. Props bedas, audrasjb. Fixes #54045. Built from https://develop.svn.wordpress.org/trunk@51732 git-svn-id: http://core.svn.wordpress.org/trunk@51338 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 517a81d049..0dcc9f5e5c 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -87,7 +87,8 @@ function post_submit_meta_box( $post, $args = array() ) { endif; /** - * Fires before the post time/date setting in the Publish meta box. + * Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons + * in the Publish meta box. * * @since 4.4.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index babdf1916c..4a4c6e38ee 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51731'; +$wp_version = '5.9-alpha-51732'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.