mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -482,7 +482,7 @@ function wp_list_categories( $args = '' ) {
|
||||
|
||||
extract( $r );
|
||||
|
||||
if ( !is_taxonomy($taxonomy) )
|
||||
if ( !taxonomy_exists($taxonomy) )
|
||||
return false;
|
||||
|
||||
$categories = get_categories( $r );
|
||||
|
||||
Reference in New Issue
Block a user