set_current_screen() before calling _tag_row in the inlin-save-tax ajax handler. Props batmoo. fixes #13892

git-svn-id: http://svn.automattic.com/wordpress/trunk@15252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-06-14 18:08:32 +00:00
parent 39f5dd1da5
commit 0575b7eba9
1 changed files with 3 additions and 1 deletions

View File

@ -1282,7 +1282,9 @@ case 'inline-save-tax':
die( $tag->get_error_message() ); die( $tag->get_error_message() );
die( __('Item not updated.') ); die( __('Item not updated.') );
} }
set_current_screen( 'edit-' . $taxonomy );
echo _tag_row($tag, 0, $taxonomy); echo _tag_row($tag, 0, $taxonomy);
} else { } else {
if ( is_wp_error($updated) && $updated->get_error_message() ) if ( is_wp_error($updated) && $updated->get_error_message() )