Make WordPress Core

Changeset 51732


Ignore:
Timestamp:
09/06/2021 01:34:36 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r51327 r51732  
    8888
    8989        /**
    90          * Fires before the post time/date setting in the Publish meta box.
     90         * Fires after the Save Draft (or Save as Pending) and Preview (or Preview Changes) buttons
     91         * in the Publish meta box.
    9192         *
    9293         * @since 4.4.0
Note: See TracChangeset for help on using the changeset viewer.