mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Upgrade more parameters in docblocks to used typed array notation.
See #51800, #41756 git-svn-id: https://develop.svn.wordpress.org/trunk@49693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -344,7 +344,7 @@ function is_taxonomy_hierarchical( $taxonomy ) {
|
||||
* @param array|string $args {
|
||||
* Optional. Array or query string of arguments for registering a taxonomy.
|
||||
*
|
||||
* @type array $labels An array of labels for this taxonomy. By default, Tag labels are
|
||||
* @type string[] $labels An array of labels for this taxonomy. By default, Tag labels are
|
||||
* used for non-hierarchical taxonomies, and Category labels are used
|
||||
* for hierarchical taxonomies. See accepted values in
|
||||
* get_taxonomy_labels(). Default empty array.
|
||||
@@ -382,7 +382,7 @@ function is_taxonomy_hierarchical( $taxonomy ) {
|
||||
* @type callable $meta_box_sanitize_cb Callback function for sanitizing taxonomy data saved from a meta
|
||||
* box. If no callback is defined, an appropriate one is determined
|
||||
* based on the value of `$meta_box_cb`.
|
||||
* @type array $capabilities {
|
||||
* @type string[] $capabilities {
|
||||
* Array of capabilities for this taxonomy.
|
||||
*
|
||||
* @type string $manage_terms Default 'manage_categories'.
|
||||
|
||||
Reference in New Issue
Block a user