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:
parent
a4beb40d0b
commit
9a11487e22
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue