Don't use deprecated functions. props koopersmith, fixes #13854.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-13 06:20:51 +00:00
parent 48c70855bb
commit 45ec93ad29
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '';