mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-03 06:01:32 +01:00
Feedback for post and page deletions. fixes #8415
git-svn-id: http://svn.automattic.com/wordpress/trunk@9999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
45f579edf5
commit
939f6761e7
@ -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