diff --git wp-includes/taxonomy.php wp-includes/taxonomy.php
index 410e762..5e8222b 100644
|
|
|
function get_taxonomy( $taxonomy ) {
|
| 218 | 218 | * @return bool Whether the taxonomy exists. |
| 219 | 219 | */ |
| 220 | 220 | function taxonomy_exists( $taxonomy ) { |
| | 221 | if ( ! is_string( $taxonomy ) ) |
| | 222 | return false; |
| | 223 | |
| 221 | 224 | global $wp_taxonomies; |
| 222 | 225 | |
| 223 | 226 | return isset( $wp_taxonomies[$taxonomy] ); |
| … |
… |
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 | } |