Make WordPress Core

Ticket #47877: 47877.diff

File 47877.diff, 1.0 KB (added by juiiee8487, 4 years ago)

Created patch.

  • src/wp-includes/taxonomy.php

    diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
    index d29896411f..36f33a0c31 100644
    a b function is_taxonomy_hierarchical( $taxonomy ) { 
    396396 *         @type bool   $hierarchical Either hierarchical rewrite tag or not. Default false.
    397397 *         @type int    $ep_mask      Assign an endpoint mask. Default `EP_NONE`.
    398398 *     }
    399  *     @type string        $query_var             Sets the query var key for this taxonomy. Default `$taxonomy` key. If
     399 *     @type bool|string   $query_var             Sets the query var key for this taxonomy. Default `$taxonomy` key. If
    400400 *                                                false, a taxonomy cannot be loaded at `?{query_var}={term_slug}`. If a
    401401 *                                                string, the query `?{query_var}={term_slug}` will be valid.
    402402 *     @type callable      $update_count_callback Works much like a hook, in that it will be called when the count is