From b8871c032397881c6957cdc67424074cfc08f7e6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 23 Jul 2020 13:13:03 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 20c4d4da42..efcaa8ae9a 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -982,10 +982,10 @@ function get_page_statuses() { */ function _wp_privacy_statuses() { return array( - 'request-pending' => __( 'Pending' ), // Pending confirmation from user. - 'request-confirmed' => __( 'Confirmed' ), // User has confirmed the action. - 'request-failed' => __( 'Failed' ), // User failed to confirm the action. - 'request-completed' => __( 'Completed' ), // Admin has handled the request. + 'request-pending' => _x( 'Pending', 'request status' ), // Pending confirmation from user. + 'request-confirmed' => _x( 'Confirmed', 'request status' ), // User has confirmed the action. + 'request-failed' => _x( 'Failed', 'request status' ), // User failed to confirm the action. + 'request-completed' => _x( 'Completed', 'request status' ), // Admin has handled the request. ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index e6b50b7a00..8e3244492f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.