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:
parent
39f5dd1da5
commit
0575b7eba9
|
@ -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() )
|
||||||
|
|
Loading…
Reference in New Issue