Make WordPress Core


Ignore:
Timestamp:
10/09/2020 01:26:27 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for wp_set_comment_status hook.

The action fires immediately after transitioning a comment's status from one to another in the database and removing the comment from the object cache, but prior to all status transition hooks.

Props davidbaumwald, henry.wright.
Fixes #51481.

File:
1 edited

Legend:

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

    r49108 r49111  
    24022402
    24032403    /**
    2404      * Fires immediately before transitioning a comment's status from one to another
    2405      * in the database.
     2404     * Fires immediately after transitioning a comment's status from one to another in the database
     2405     * and removing the comment from the object cache, but prior to all status transition hooks.
    24062406     *
    24072407     * @since 1.5.0
Note: See TracChangeset for help on using the changeset viewer.