I18N: Add context to privacy request status strings.

These strings already have a context in `create_initial_post_types()`, and should use the same context in `_wp_privacy_statuses()`.

Props ramiy, audrasjb.
Fixes #50740.
Built from https://develop.svn.wordpress.org/trunk@48578


git-svn-id: http://core.svn.wordpress.org/trunk@48340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-07-23 13:13:03 +00:00
parent d1b980492f
commit b8871c0323
2 changed files with 5 additions and 5 deletions

View File

@ -982,10 +982,10 @@ function get_page_statuses() {
*/ */
function _wp_privacy_statuses() { function _wp_privacy_statuses() {
return array( return array(
'request-pending' => __( 'Pending' ), // Pending confirmation from user. 'request-pending' => _x( 'Pending', 'request status' ), // Pending confirmation from user.
'request-confirmed' => __( 'Confirmed' ), // User has confirmed the action. 'request-confirmed' => _x( 'Confirmed', 'request status' ), // User has confirmed the action.
'request-failed' => __( 'Failed' ), // User failed to confirm the action. 'request-failed' => _x( 'Failed', 'request status' ), // User failed to confirm the action.
'request-completed' => __( 'Completed' ), // Admin has handled the request. 'request-completed' => _x( 'Completed', 'request status' ), // Admin has handled the request.
); );
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-beta3-48577'; $wp_version = '5.5-beta3-48578';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.