Administration: Use sentence case for "Mark as spam" bulk action links for sites and users, for consistency with comments.
Follow-up to [48352]. See #40244. git-svn-id: https://develop.svn.wordpress.org/trunk@48595 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ce05bc1bd7
commit
1191967083
@ -289,8 +289,8 @@ class WP_MS_Sites_List_Table extends WP_List_Table {
|
||||
if ( current_user_can( 'delete_sites' ) ) {
|
||||
$actions['delete'] = __( 'Delete' );
|
||||
}
|
||||
$actions['spam'] = _x( 'Mark as Spam', 'site' );
|
||||
$actions['notspam'] = _x( 'Not Spam', 'site' );
|
||||
$actions['spam'] = _x( 'Mark as spam', 'site' );
|
||||
$actions['notspam'] = _x( 'Not spam', 'site' );
|
||||
|
||||
return $actions;
|
||||
}
|
||||
|
@ -114,8 +114,8 @@ class WP_MS_Users_List_Table extends WP_List_Table {
|
||||
if ( current_user_can( 'delete_users' ) ) {
|
||||
$actions['delete'] = __( 'Delete' );
|
||||
}
|
||||
$actions['spam'] = _x( 'Mark as Spam', 'user' );
|
||||
$actions['notspam'] = _x( 'Not Spam', 'user' );
|
||||
$actions['spam'] = _x( 'Mark as spam', 'user' );
|
||||
$actions['notspam'] = _x( 'Not spam', 'user' );
|
||||
|
||||
return $actions;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user