WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/12/2016 05:46:37 AM (4 years ago)
Author:
dd32
Message:

Taxonomy: Restore the ability to use string-based $args in wp_get_object_terms().

Props tyxla.
Fixes #39215

File:
1 edited

Legend:

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

    r39475 r39578  
    18781878    $object_ids = array_map('intval', $object_ids);
    18791879
     1880    $args = wp_parse_args( $args );
     1881
    18801882    $args['taxonomy'] = $taxonomies;
    18811883    $args['object_ids'] = $object_ids;
Note: See TracChangeset for help on using the changeset viewer.