Feedback for post and page deletions. fixes #8415
git-svn-id: https://develop.svn.wordpress.org/trunk@9999 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6cae7a0d77
commit
2944f27167
@ -124,7 +124,7 @@ if ( isset($_GET['locked']) && (int) $_GET['locked'] ) {
|
||||
}
|
||||
|
||||
if ( isset($_GET['deleted']) && (int) $_GET['deleted'] ) {
|
||||
printf( __ngettext( 'Post deleted.', '%s posts deleted.', $_GET['deleted'] ), number_format_i18n( $_GET['deleted'] ) );
|
||||
printf( __ngettext( 'Page deleted.', '%s pages deleted.', $_GET['deleted'] ), number_format_i18n( $_GET['deleted'] ) );
|
||||
unset($_GET['deleted']);
|
||||
}
|
||||
$_SERVER['REQUEST_URI'] = remove_query_arg( array('locked', 'skipped', 'updated', 'deleted'), $_SERVER['REQUEST_URI'] );
|
||||
|
Loading…
Reference in New Issue
Block a user