diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/category-template.php --- a/wp/wp-includes/category-template.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/category-template.php Wed Sep 21 18:19:35 2022 +0200 @@ -248,8 +248,9 @@ * @since 1.2.0 * @since 2.7.0 The `$post` parameter was added. * - * @param int|string|array $category Category ID, name or slug, or array of said. - * @param int|object $post Optional. Post to check instead of the current post. + * @param int|string|int[]|string[] $category Category ID, name, slug, or array of such + * to check against. + * @param int|object $post Optional. Post to check instead of the current post. * @return bool True if the current post is in any of the given categories. */ function in_category( $category, $post = null ) { @@ -325,7 +326,7 @@ * of the option elements. Accepts any valid term field: 'term_id', 'name', * 'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description', * 'parent', 'count'. Default 'term_id'. - * @type string|array $taxonomy Name of the category or categories to retrieve. Default 'category'. + * @type string|array $taxonomy Name of the taxonomy or taxonomies to retrieve. Default 'category'. * @type bool $hide_if_empty True to skip generating markup if no categories are found. * Default false (create select element even if no categories are found). * @type bool $required Whether the `