[wp-trac] [WordPress Trac] #23839: wp_insert_post() duplicate insertions

WordPress Trac noreply at wordpress.org
Sat Mar 23 06:10:43 UTC 2013


#23839: wp_insert_post() duplicate insertions
-------------------------------+------------------------------
 Reporter:  mikemayhem3030     |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.5.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by alexvorn2):

 Replying to [comment:7 mikemayhem3030]:


 '''
 Add this condition and see if it helps:

 {{{

 if ( true === DOING_CRON || true === DOING_AJAX )
     return;
 }}}


 '''

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


More information about the wp-trac mailing list