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. git-svn-id: https://develop.svn.wordpress.org/trunk@42890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a0cd3d6d7a
commit
7c38750b16
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue