[wp-trac] [WordPress Trac] #32991: wp_delete_post() does not return a WP_Post object

WordPress Trac noreply at wordpress.org
Sat Sep 12 15:54:07 UTC 2015


#32991: wp_delete_post() does not return a WP_Post object
----------------------------------------------+----------------------------
 Reporter:  johnbillion                       |       Owner:
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  Future
Component:  Posts, Post Types                 |  Release
 Severity:  normal                            |     Version:
 Keywords:  needs-docs 2nd-opinion has-patch  |  Resolution:
                                              |     Focuses:
----------------------------------------------+----------------------------

Comment (by wonderboymusic):

 When deleting items, I think the SQL is to ensure we aren't doing anything
 destructive based on information from a potentially stale cache.

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


More information about the wp-trac mailing list