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

WordPress Trac noreply at wordpress.org
Wed Aug 19 08:03:18 UTC 2015


#33423: Arguments switched in wp_batch_split_terms Cron Job in 4.3
--------------------------+-----------------------------
 Reporter:  mechter       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  4.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi all,

 I've upgraded to 4.3 and there seems to be an issue with the cron job
 `wp_batch_split_terms`.

 Line 4448 of `wp-includes/taxonomy.php` calls:

 `wp_schedule_single_event( 'wp_batch_split_terms', time() +
 MINUTE_IN_SECONDS );`

 I think it meant to call

 `wp_schedule_single_event( time() + MINUTE_IN_SECONDS,
 'wp_batch_split_terms' );`

 Note that there is now a cron job with the hook name for a timestamp in
 the database, that might need dealing with.

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


More information about the wp-trac mailing list