Ticket #28743: taxonomy.php.patch
File taxonomy.php.patch, 746 bytes (added by , 10 years ago) |
---|
-
wp-includes/taxonomy.php
3456 3456 * 3457 3457 * @since 2.3.0 3458 3458 * 3459 * @global bool $_wp_suspend_cache_invalidation 3460 * 3459 3461 * @see get_object_taxonomies() for more on $object_type. 3460 3462 * 3461 3463 * @param int|array $object_ids Single or list of term object ID(s). 3462 3464 * @param array|string $object_type The taxonomy object type. 3463 3465 */ 3464 3466 function clean_object_term_cache($object_ids, $object_type) { 3467 global $_wp_suspend_cache_invalidation; 3468 3469 if ( ! empty( $_wp_suspend_cache_invalidation ) ) { 3470 return; 3471 } 3472 3465 3473 if ( !is_array($object_ids) ) 3466 3474 $object_ids = array($object_ids); 3467 3475