Make WordPress Core


Ignore:
Timestamp:
12/05/2007 12:31:54 AM (17 years ago)
Author:
ryan
Message:

Don't return all taxonomies for an object type of 0. Props tellyworth and nbachiyski. fixes #5417

File:
1 edited

Legend:

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

    r6326 r6355  
    4343    $taxonomies = array();
    4444    foreach ( $wp_taxonomies as $taxonomy ) {
    45         if ( $object_type == $taxonomy->object_type )
     45        if ( $object_type === $taxonomy->object_type )
    4646            $taxonomies[] = $taxonomy->name;
    4747    }
Note: See TracChangeset for help on using the changeset viewer.