mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
These functions import $wpdb but do not use it.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3161,8 +3161,6 @@ function wp_update_term_count( $terms, $taxonomy, $do_deferred=false ) {
|
||||
* @return bool Always true when complete.
|
||||
*/
|
||||
function wp_update_term_count_now( $terms, $taxonomy ) {
|
||||
global $wpdb;
|
||||
|
||||
$terms = array_map('intval', $terms);
|
||||
|
||||
$taxonomy = get_taxonomy($taxonomy);
|
||||
|
||||
Reference in New Issue
Block a user