set_current_screen() before calling _tag_row in the inlin-save-tax ajax handler. Props batmoo. fixes #13892
git-svn-id: https://develop.svn.wordpress.org/trunk@15252 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d6c01251c0
commit
815f93e80b
@ -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
Block a user