Fix inline term editing. See #15338

git-svn-id: http://svn.automattic.com/wordpress/trunk@16369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-11-14 18:08:25 +00:00
parent a41a7b5b5b
commit f4bc56dc8a
1 changed files with 2 additions and 0 deletions

View File

@ -1209,6 +1209,8 @@ case 'inline-save':
case 'inline-save-tax':
check_ajax_referer( 'taxinlineeditnonce', '_inline_edit' );
set_current_screen('edit-' . $_POST['taxonomy']);
$wp_list_table = get_list_table('WP_Terms_List_Table');
$wp_list_table->check_permissions('edit');