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
This commit is contained in:
Sergey Biryukov 2021-09-06 13:36:01 +00:00
parent c5d96d88a3
commit de70e2c68b
2 changed files with 3 additions and 2 deletions

View File

@ -87,7 +87,8 @@ function post_submit_meta_box( $post, $args = array() ) {
endif; 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 * @since 4.4.0
* *

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.