From 7a235fc58479acf01b9e707ce99bc5c1ab31f6ce Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 30 Jun 2020 00:04:05 +0000 Subject: [PATCH] Docs: Correct documentation for the `filter` parameter of `get_category()` and `get_tag()`. Follow-up to [48197]. See #49572. Built from https://develop.svn.wordpress.org/trunk@48219 git-svn-id: http://core.svn.wordpress.org/trunk@47988 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/category.php b/wp-includes/category.php index 843c51d0da..57ec0a9092 100644 --- a/wp-includes/category.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 821215a3e1..5bb2eae3fd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48218'; +$wp_version = '5.5-alpha-48219'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.