From 8dc4165d46ecaa4057d3a82342d29628dde8cac5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 23 Jul 2020 13:10:40 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@48578 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 20c4d4da42..efcaa8ae9a 100644 --- a/src/wp-includes/post.php +++ b/src/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. ); }