IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 338 | 338 | * |
| 339 | 339 | * @global array $wp_taxonomies Registered taxonomies. |
| 340 | 340 | * |
| 341 | | * @param string $taxonomy Taxonomy key, must not exceed 32 characters. |
| | 341 | * @param string $taxonomy Taxonomy key, must not exceed 32 characters, lower case. |
| 342 | 342 | * @param array|string $object_type Object type or array of object types with which the taxonomy should be associated. |
| 343 | 343 | * @param array|string $args { |
| 344 | 344 | * Optional. Array or query string of arguments for registering a taxonomy. |
| … |
… |
|
| 414 | 414 | function register_taxonomy( $taxonomy, $object_type, $args = array() ) { |
| 415 | 415 | global $wp_taxonomies; |
| 416 | 416 | |
| | 417 | if ( ! empty( $taxonomy ) ) { |
| | 418 | $taxonomy = strtolower( $taxonomy ); |
| | 419 | } |
| | 420 | |
| 417 | 421 | if ( ! is_array( $wp_taxonomies ) ) { |
| 418 | 422 | $wp_taxonomies = array(); |
| 419 | 423 | } |