Ticket #16752: 16752-2.diff
| File 16752-2.diff, 575 bytes (added by , 14 years ago) |
|---|
-
wp-includes/taxonomy.php
866 866 if ( $output == OBJECT ) { 867 867 return $_term; 868 868 } elseif ( $output == ARRAY_A ) { 869 $__term = get_object_vars($_term); 870 return $__term; 869 return get_object_vars($_term); 871 870 } elseif ( $output == ARRAY_N ) { 872 $__term = array_values(get_object_vars($_term)); 873 return $__term; 871 return array_values(get_object_vars($_term)); 874 872 } else { 875 873 return $_term; 876 874 }