]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/taxonomy.php
WordPress 4.3.1
[autoinstalls/wordpress.git] / wp-includes / taxonomy.php
index 1db44dcd2d4cab243ec16ebca8c8a62750efc44c..4328a366707338df6759ca701085773158ded9e7 100644 (file)
@@ -4437,15 +4437,15 @@ function _wp_batch_split_terms() {
 }
 
 /**
 }
 
 /**
- * In order to avoid the wp_batch_split_terms() job being accidentally removed,
+ * In order to avoid the _wp_batch_split_terms() job being accidentally removed,
  * check that it's still scheduled while we haven't finished splitting terms.
  *
  * @ignore
  * @since 4.3.0
  */
 function _wp_check_for_scheduled_split_terms() {
  * check that it's still scheduled while we haven't finished splitting terms.
  *
  * @ignore
  * @since 4.3.0
  */
 function _wp_check_for_scheduled_split_terms() {
-       if ( ! get_option( 'finished_splitting_shared_terms' ) && ! wp_next_scheduled( 'wp_batch_split_terms' ) ) {
-               wp_schedule_single_event( 'wp_batch_split_terms', time() + MINUTE_IN_SECONDS );
+       if ( ! get_option( 'finished_splitting_shared_terms' ) && ! wp_next_scheduled( 'wp_split_shared_term_batch' ) ) {
+               wp_schedule_single_event( time() + MINUTE_IN_SECONDS, 'wp_split_shared_term_batch' );
        }
 }
 
        }
 }