From 95256b14b9b00c648a9765cd96a06233d6d25a41 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 13 Jun 2010 06:20:51 +0000 Subject: [PATCH] Don't use deprecated functions. props koopersmith, fixes #13854. git-svn-id: https://develop.svn.wordpress.org/trunk@15242 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 8d676bccd5..abc15f85cc 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -3912,7 +3912,7 @@ function set_current_screen( $id = '' ) { $id = sanitize_key($id); if ( false !== strpos($id, '-') ) { list( $id, $typenow ) = explode('-', $id, 2); - if ( is_taxonomy($typenow) ) { + if ( taxonomy_exists( $typenow ) ) { $id = 'edit-tags'; $taxnow = $typenow; $typenow = '';