diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index c4a0ead64c..687ac3bb8c 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -390,7 +390,8 @@ function is_taxonomy_hierarchical( $taxonomy ) { * * @global WP_Taxonomy[] $wp_taxonomies Registered taxonomies. * - * @param string $taxonomy Taxonomy key, must not exceed 32 characters. + * @param string $taxonomy Taxonomy key, must not exceed 32 characters and may only contain lowercase alphanumeric + * characters, dashes, and underscores. See sanitize_key(). * @param array|string $object_type Object type or array of object types with which the taxonomy should be associated. * @param array|string $args { * Optional. Array or query string of arguments for registering a taxonomy.