Docs: Correct type for query_var
argument of register_taxonomy()
.
Props juiiee8487, audrasjb. Fixes #47877. Built from https://develop.svn.wordpress.org/trunk@45797 git-svn-id: http://core.svn.wordpress.org/trunk@45608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c03a0bea8d
commit
0e1343ee2b
@ -396,7 +396,7 @@ function is_taxonomy_hierarchical( $taxonomy ) {
|
|||||||
* @type bool $hierarchical Either hierarchical rewrite tag or not. Default false.
|
* @type bool $hierarchical Either hierarchical rewrite tag or not. Default false.
|
||||||
* @type int $ep_mask Assign an endpoint mask. Default `EP_NONE`.
|
* @type int $ep_mask Assign an endpoint mask. Default `EP_NONE`.
|
||||||
* }
|
* }
|
||||||
* @type string $query_var Sets the query var key for this taxonomy. Default `$taxonomy` key. If
|
* @type string|bool $query_var Sets the query var key for this taxonomy. Default `$taxonomy` key. If
|
||||||
* false, a taxonomy cannot be loaded at `?{query_var}={term_slug}`. If a
|
* false, a taxonomy cannot be loaded at `?{query_var}={term_slug}`. If a
|
||||||
* string, the query `?{query_var}={term_slug}` will be valid.
|
* string, the query `?{query_var}={term_slug}` will be valid.
|
||||||
* @type callable $update_count_callback Works much like a hook, in that it will be called when the count is
|
* @type callable $update_count_callback Works much like a hook, in that it will be called when the count is
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45796';
|
$wp_version = '5.3-alpha-45797';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user