Make WordPress Core

Ticket #56352: 56352.patch

File 56352.patch, 855 bytes (added by dipakparmar443, 3 years ago)

I have update the inline document in attached patch file

  • src/wp-includes/taxonomy.php

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