diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
index 0eaecdf887..b91ae8f227 100644
|
a
|
b
|
function is_taxonomy_hierarchical( $taxonomy ) {
|
| 408 | 408 | * @type bool $_builtin This taxonomy is a "built-in" taxonomy. INTERNAL USE ONLY! |
| 409 | 409 | * Default false. |
| 410 | 410 | * } |
| 411 | | * @return void|WP_Error Void on success, WP_Error object on failure. |
| | 411 | * @return WP_Taxonomy|WP_Error The registered taxonomy object on success, WP_Error object on failure. |
| 412 | 412 | */ |
| 413 | 413 | function register_taxonomy( $taxonomy, $object_type, $args = array() ) { |
| 414 | 414 | global $wp_taxonomies; |
| … |
… |
function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
|
| 441 | 441 | * @param array $args Array of taxonomy registration arguments. |
| 442 | 442 | */ |
| 443 | 443 | do_action( 'registered_taxonomy', $taxonomy, $object_type, (array) $taxonomy_object ); |
| | 444 | |
| | 445 | return $taxonomy_object; |
| 444 | 446 | } |
| 445 | 447 | |
| 446 | 448 | /** |