Taxonomy: In `category_description()`, don't pass the `$taxonomy` parameter to `term_description()`.

The parameter was deprecated in [42368] and is now unused.

Props chetan200891.
Fixes #43381. See #42771.
Built from https://develop.svn.wordpress.org/trunk@42890


git-svn-id: http://core.svn.wordpress.org/trunk@42720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-03-28 23:25:29 +00:00
parent a4beb40d0b
commit 9a11487e22
2 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ function the_category( $separator = '', $parents = '', $post_id = false ) {
* @return string Category description, available.
*/
function category_description( $category = 0 ) {
return term_description( $category, 'category' );
return term_description( $category );
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42889';
$wp_version = '5.0-alpha-42890';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.