WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34715, comment 4


Ignore:
Timestamp:
11/19/2015 03:17:42 PM (5 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34715, comment 4

    initial v1  
    1 Tested with untrashing a published custom post type, and the `transition_post_status` hook fires as expected with `publish` and `trash` as the `$new_status` and `$old_status` parameters as expected.
     1Tested with untrashing a published custom post type, and the `transition_post_status` hook fires as expected with `publish` and `trash` as the `$new_status` and `$old_status` parameters respectively.
    22
    33The `wp_transition_post_status()` function is called for all post types except attachments: https://core.trac.wordpress.org/browser/tags/4.3.1/src/wp-includes/post.php#L3517