Docs: Increase the specificity of various docblock parameter types and return types.
See #48303 Built from https://develop.svn.wordpress.org/trunk@46823 git-svn-id: http://core.svn.wordpress.org/trunk@46623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -32,7 +32,7 @@ require_once( ABSPATH . 'wp-admin/includes/class-wp-internal-pointers.php' );
|
||||
* @param int[] $selected_cats Optional. Array of category IDs to mark as checked. Default false.
|
||||
* @param int[] $popular_cats Optional. Array of category IDs to receive the "popular-category" class.
|
||||
* Default false.
|
||||
* @param object $walker Optional. Walker object to use to build the output.
|
||||
* @param Walker $walker Optional. Walker object to use to build the output.
|
||||
* Default is a Walker_Category_Checklist instance.
|
||||
* @param bool $checked_ontop Optional. Whether to move checked items out of the hierarchy and to
|
||||
* the top of the list. Default true.
|
||||
@@ -68,7 +68,7 @@ function wp_category_checklist( $post_id = 0, $descendants_and_self = 0, $select
|
||||
* @type int[] $selected_cats Array of category IDs to mark as checked. Default false.
|
||||
* @type int[] $popular_cats Array of category IDs to receive the "popular-category" class.
|
||||
* Default false.
|
||||
* @type object $walker Walker object to use to build the output.
|
||||
* @type Walker $walker Walker object to use to build the output.
|
||||
* Default is a Walker_Category_Checklist instance.
|
||||
* @type string $taxonomy Taxonomy to generate the checklist for. Default 'category'.
|
||||
* @type bool $checked_ontop Whether to move checked items out of the hierarchy and to
|
||||
|
||||
Reference in New Issue
Block a user