[wp-trac] [WordPress Trac] #30940: Extend delete actions arguments

WordPress Trac noreply at wordpress.org
Wed Jan 7 17:21:13 UTC 2015


#30940: Extend delete actions arguments
-------------------------------+------------------------------
 Reporter:  jadpm              |       Owner:
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by jadpm):

 Yes, I though about that. But since the variable being used is te same old
 known $post although it refers to a row object, I just went along and kept
 it that way. May it be better to perform a WP_Post::get_instance() instead
 of doing a $wpdb->get_row()?

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


More information about the wp-trac mailing list