Make WordPress Core

Changeset 49326


Ignore:
Timestamp:
10/27/2020 03:40:21 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typo in {$old_status}_to_{$new_status} hook description.

See #50768.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r49212 r49326  
    48984898     * Fires when a post is transitioned from one status to another.
    48994899     *
    4900      * The dynamic portions of the hook name, `$new_status` and `$old status`,
     4900     * The dynamic portions of the hook name, `$new_status` and `$old_status`,
    49014901     * refer to the old and new post statuses, respectively.
    49024902     *
Note: See TracChangeset for help on using the changeset viewer.