[wp-trac] [WordPress Trac] #11081: wp_insert_post() creates duplicates posts with two simultaneous mysql connections

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 5 14:54:32 UTC 2009


#11081: wp_insert_post() creates duplicates posts with two simultaneous mysql
connections
-------------------------------+--------------------------------------------
 Reporter:  maribge            |        Owner:  ryan   
     Type:  defect (bug)       |       Status:  closed 
 Priority:  normal             |    Milestone:  2.9    
Component:  Query              |      Version:         
 Severity:  normal             |   Resolution:  invalid
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Changes (by ryan):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Yes, check cron requests.  wp_insert_post() schedules ping processing.
 Later page loads will spawn a request to process the ping, which will
 trigger your insert since it is attached to "init".  Closing as invalid
 pending further info.

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


More information about the wp-trac mailing list