[wp-trac] [WordPress Trac] #33423: Arguments switched in wp_batch_split_terms Cron Job in 4.3

WordPress Trac noreply at wordpress.org
Tue Aug 25 01:22:12 UTC 2015


#33423: Arguments switched in wp_batch_split_terms Cron Job in 4.3
--------------------------+-----------------------
 Reporter:  mechter       |       Owner:  dd32
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.3.1
Component:  Taxonomy      |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  fixed-major   |     Focuses:
--------------------------+-----------------------

Comment (by dd32):

 Yeah, this was based on me only finding ~20 items on all the sites I
 checked, before reports of thousands of entries were reported.

 The change can be simplified to this instead:
 {{{
         $cron_array = _get_cron_array();
         if ( isset( $cron_array['wp_batch_split_terms'] ) ) {
                 unset( $cron_array['wp_batch_split_terms'] );
         }
         _set_cron_array( $cron_array );
 }}}

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


More information about the wp-trac mailing list