WordPress.org

Make WordPress Core

Ticket #8704: 8704.diff

File 8704.diff, 472 bytes (added by Denis-de-Bernardy, 6 years ago)
  • Users/denis/Sites/sem-pro/wp-includes/taxonomy.php

     
    12341234        } 
    12351235 
    12361236        if ( ! $terms ) 
    1237                 return array(); 
     1237                $terms = array(); 
    12381238 
    1239         return $terms; 
     1239        return apply_filters('wp_get_object_terms', $terms, $object_ids, $taxonomies, $args); 
    12401240} 
    12411241 
    12421242/**