[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 08:57:57 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:  2.9
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 It's admittedly very minor, so I mostly wanted to highlight it. Perhaps
 rename `untrash_post` or introduce `wp_untrash_post`? Or should we leave
 things as is and close?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27577#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list