WordPress.org

Make WordPress Core

Changeset 6007


Ignore:
Timestamp:
09/02/2007 05:08:48 AM (11 years ago)
Author:
markjaquith
Message:

Correct variable name in clean_object_term_cache(). props arnee. fixes #4888

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r5983 r6007  
    968968    global $object_term_cache, $blog_id;
    969969
    970     if ( !is_array($ids) )
    971         $ids = array($ids);
     970    if ( !is_array($object_ids) )
     971        $object_ids = array($object_ids);
    972972
    973973    $taxonomies = get_object_taxonomies($object_type);
    974974
    975     foreach ( $ids as $id ) {
     975    foreach ( $object_ids as $id ) {
    976976        foreach ( $taxonomies as $taxonomy ) {
    977977            if ( isset($object_term_cache[$blog_id][$id][$taxonomy]) )
Note: See TracChangeset for help on using the changeset viewer.