Make WordPress Core

Changeset 22476


Ignore:
Timestamp:
11/09/2012 12:16:30 AM (12 years ago)
Author:
nacin
Message:

Use correct variable. props picklewagon. fixes #22394.

File:
1 edited

Legend:

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

    r22433 r22476  
    31623162
    31633163    $object_terms = get_object_term_cache( $object_id, $taxonomy );
    3164     if ( false === $terms )
     3164    if ( false === $object_terms )
    31653165         $object_terms = wp_get_object_terms( $object_id, $taxonomy );
    31663166
Note: See TracChangeset for help on using the changeset viewer.