diff --git a/src/wp-includes/category.php b/src/wp-includes/category.php index 843c51d0da..57ec0a9092 100644 --- a/src/wp-includes/category.php +++ b/src/wp-includes/category.php @@ -84,7 +84,7 @@ function get_categories( $args = '' ) { * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, * which correspond to a WP_Term object, an associative array, or a numeric array, * respectively. Default OBJECT. - * @param string $filter Optional. Default is raw or no WordPress defined filter will applied. + * @param string $filter Optional. How to sanitize category fields. Default 'raw'. * @return object|array|WP_Error|null Category data in type defined by $output parameter. * WP_Error if $category is empty, null if it does not exist. */ @@ -332,7 +332,7 @@ function get_tags( $args = '' ) { * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, * which correspond to a WP_Term object, an associative array, or a numeric array, * respectively. Default OBJECT. - * @param string $filter Optional. Default is raw or no WordPress defined filter will applied. + * @param string $filter Optional. How to sanitize tag fields. Default 'raw'. * @return WP_Term|array|WP_Error|null Tag data in type defined by $output parameter. * WP_Error if $tag is empty, null if it does not exist. */