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

WordPress Trac noreply at wordpress.org
Sat Mar 23 07:42:22 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 mikemayhem3030):

 Replying to [comment:8 alexvorn2]:
 > Replying to [comment:7 mikemayhem3030]:
 >
 >
 > '''
 > Add this condition and see if it helps:
 >
 > {{{
 >
 > if ( true === DOING_CRON || true === DOING_AJAX )
 >     return;
 > }}}
 >
 >
 > '''


 Where would I add that too? - which place in the code?

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


More information about the wp-trac mailing list