[wp-trac] [WordPress Trac] #47773: wp_trash_post() ignores errors from wp_update_post()

WordPress Trac noreply at wordpress.org
Sat Aug 3 03:46:56 UTC 2019


#47773: wp_trash_post() ignores errors from wp_update_post()
-------------------------------+-----------------------------
 Reporter:  siliconforks       |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  5.3
Component:  Posts, Post Types  |     Version:  5.2.2
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45724" 45724]:
 {{{
 #!CommitTicketReference repository="" revision="45724"
 Posts, Post Types: Check the result of `wp_update_post()` in
 `wp_trash_post()` and `wp_untrash_post()`.

 Props abhijitrakas, manzoorwani.jk, siliconforks.
 Fixes #47773.
 }}}

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


More information about the wp-trac mailing list