Privacy: Show failures before successes for all bulk actions.
Props garrett-eclipse. See #44081, [49331]. Built from https://develop.svn.wordpress.org/trunk@49333 git-svn-id: http://core.svn.wordpress.org/trunk@49094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f4f72498c0
commit
219079f7a3
|
@ -247,23 +247,6 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
|||
}
|
||||
}
|
||||
|
||||
if ( $count ) {
|
||||
add_settings_error(
|
||||
'bulk_action',
|
||||
'bulk_action',
|
||||
sprintf(
|
||||
/* translators: %d: Number of requests. */
|
||||
_n(
|
||||
'%d confirmation request re-sent successfully.',
|
||||
'%d confirmation requests re-sent successfully.',
|
||||
$count
|
||||
),
|
||||
$count
|
||||
),
|
||||
'success'
|
||||
);
|
||||
}
|
||||
|
||||
if ( $failures ) {
|
||||
add_settings_error(
|
||||
'bulk_action',
|
||||
|
@ -281,6 +264,23 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
|||
);
|
||||
}
|
||||
|
||||
if ( $count ) {
|
||||
add_settings_error(
|
||||
'bulk_action',
|
||||
'bulk_action',
|
||||
sprintf(
|
||||
/* translators: %d: Number of requests. */
|
||||
_n(
|
||||
'%d confirmation request re-sent successfully.',
|
||||
'%d confirmation requests re-sent successfully.',
|
||||
$count
|
||||
),
|
||||
$count
|
||||
),
|
||||
'success'
|
||||
);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'complete':
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-beta1-49331';
|
||||
$wp_version = '5.6-beta1-49333';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue