[wp-trac] [WordPress Trac] #27577: Inconsistent hook names in `wp_trash_post()` and `wp_untrash_post()`
WordPress Trac
noreply at wordpress.org
Sat Mar 29 07:27:35 UTC 2014
#27577: Inconsistent hook names in `wp_trash_post()` and `wp_untrash_post()`
-------------------------------+-----------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.8.1
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
In `wp_trash_post()`, they are:
- `wp_trash_post`
- `trashed_post`
But in `wp_untrash_post()`, they are:
- `untrash_post`
- `untrashed_post`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27577>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list