Opened 9 years ago
Closed 9 years ago
#39582 closed enhancement (wontfix)
Deprecate the edit_post hook
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.8 |
| Component: | Posts, Post Types | Keywords: | |
| Focuses: | Cc: |
Description
The [edit_post](https://core.trac.wordpress.org/browser/tags/4.5.3/src/wp-includes/post.php#L3491) hook is redundant and I do not see any benefit over post_updated, which is called immediately after and provides more data.
Change History (1)
Note: See
TracTickets for help on using
tickets.
I don't really see any benefit from deprecating the filter, even if it is now redundant and those who are using it aren't facing any immediate compatibility issues by using it.
post_updatedwas probably added for consistency with other actions, it doesn't necessarily have to replace the existing hook.