[wp-trac] [WordPress Trac] #22165: pre_post_insert missing?!

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 13 07:08:43 UTC 2012


#22165: pre_post_insert missing?!
-------------------------+------------------------
 Reporter:  thomask      |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  3.4.2
 Severity:  trivial      |  Resolution:  duplicate
 Keywords:  has-patch    |
-------------------------+------------------------

Comment (by nacin):

 This hook isn't actually needed for most use cases. A post created from
 the admin will already be in the DB as an auto-draft, thus creating a post
 from post-new.php is actually an "update".

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22165#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list