Make WordPress Core


Ignore:
Timestamp:
02/17/2014 09:55:41 PM (11 years ago)
Author:
wonderboymusic
Message:

Remove extraneous type-casting in wp_get_object_terms().

Props OriginalEXE.
Fixes #27133.

File:
1 edited

Legend:

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

    r27163 r27186  
    19731973        $taxonomies = array($taxonomies);
    19741974
    1975     foreach ( (array) $taxonomies as $taxonomy ) {
     1975    foreach ( $taxonomies as $taxonomy ) {
    19761976        if ( ! taxonomy_exists($taxonomy) )
    19771977            return new WP_Error('invalid_taxonomy', __('Invalid taxonomy'));
Note: See TracChangeset for help on using the changeset viewer.