diff --git wp-includes/taxonomy.php wp-includes/taxonomy.php
index 410e762..f37c695 100644
|
|
|
function get_taxonomy( $taxonomy ) {
|
| 220 | 220 | function taxonomy_exists( $taxonomy ) { |
| 221 | 221 | global $wp_taxonomies; |
| 222 | 222 | |
| | 223 | if (! is_string($taxonomy)) |
| | 224 | _doing_it_wrong(__FUNCTION__, 'This function will only accept a string as a parameter.', '3.9'); |
| | 225 | |
| 223 | 226 | return isset( $wp_taxonomies[$taxonomy] ); |
| 224 | 227 | } |
| 225 | 228 | |
| … |
… |
function wp_check_term_hierarchy_for_loops( $parent, $term_id, $taxonomy ) {
|
| 3405 | 3408 | wp_update_term( $loop_member, $taxonomy, array( 'parent' => 0 ) ); |
| 3406 | 3409 | |
| 3407 | 3410 | return $parent; |
| 3408 | | } |
| 3409 | | No newline at end of file |
| | 3411 | } |