I18N: Use consistent pattern for placeholder references in translator comments in `wp_ajax_wp_privacy_erase_personal_data()`.
See #43438. Built from https://develop.svn.wordpress.org/trunk@43088 git-svn-id: http://core.svn.wordpress.org/trunk@42917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2f792d442b
commit
14ab38be27
|
@ -4625,7 +4625,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||||
if ( ! is_array( $response ) ) {
|
if ( ! is_array( $response ) ) {
|
||||||
wp_send_json_error(
|
wp_send_json_error(
|
||||||
sprintf(
|
sprintf(
|
||||||
/* translators: %1$s: eraser friendly name, %2$d: array index */
|
/* translators: 1: eraser friendly name, 2: array index */
|
||||||
__( 'Did not receive array from %1$s eraser (index %2$d).' ),
|
__( 'Did not receive array from %1$s eraser (index %2$d).' ),
|
||||||
esc_html( $eraser_friendly_name ),
|
esc_html( $eraser_friendly_name ),
|
||||||
$eraser_index
|
$eraser_index
|
||||||
|
@ -4636,7 +4636,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||||
if ( ! array_key_exists( 'items_removed', $response ) ) {
|
if ( ! array_key_exists( 'items_removed', $response ) ) {
|
||||||
wp_send_json_error(
|
wp_send_json_error(
|
||||||
sprintf(
|
sprintf(
|
||||||
/* translators: %1$s: eraser friendly name, %2$d: array index */
|
/* translators: 1: eraser friendly name, 2: array index */
|
||||||
__( 'Expected items_removed key in response array from %1$s eraser (index %2$d).' ),
|
__( 'Expected items_removed key in response array from %1$s eraser (index %2$d).' ),
|
||||||
esc_html( $eraser_friendly_name ),
|
esc_html( $eraser_friendly_name ),
|
||||||
$eraser_index
|
$eraser_index
|
||||||
|
@ -4647,7 +4647,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||||
if ( ! array_key_exists( 'items_retained', $response ) ) {
|
if ( ! array_key_exists( 'items_retained', $response ) ) {
|
||||||
wp_send_json_error(
|
wp_send_json_error(
|
||||||
sprintf(
|
sprintf(
|
||||||
/* translators: %1$s: eraser friendly name, %2$d: array index */
|
/* translators: 1: eraser friendly name, 2: array index */
|
||||||
__( 'Expected items_retained key in response array from %1$s eraser (index %2$d).' ),
|
__( 'Expected items_retained key in response array from %1$s eraser (index %2$d).' ),
|
||||||
esc_html( $eraser_friendly_name ),
|
esc_html( $eraser_friendly_name ),
|
||||||
$eraser_index
|
$eraser_index
|
||||||
|
@ -4658,7 +4658,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||||
if ( ! array_key_exists( 'messages', $response ) ) {
|
if ( ! array_key_exists( 'messages', $response ) ) {
|
||||||
wp_send_json_error(
|
wp_send_json_error(
|
||||||
sprintf(
|
sprintf(
|
||||||
/* translators: %1$s: eraser friendly name, %2$d: array index */
|
/* translators: 1: eraser friendly name, 2: array index */
|
||||||
__( 'Expected messages key in response array from %1$s eraser (index %2$d).' ),
|
__( 'Expected messages key in response array from %1$s eraser (index %2$d).' ),
|
||||||
esc_html( $eraser_friendly_name ),
|
esc_html( $eraser_friendly_name ),
|
||||||
$eraser_index
|
$eraser_index
|
||||||
|
@ -4669,7 +4669,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||||
if ( ! is_array( $response['messages'] ) ) {
|
if ( ! is_array( $response['messages'] ) ) {
|
||||||
wp_send_json_error(
|
wp_send_json_error(
|
||||||
sprintf(
|
sprintf(
|
||||||
/* translators: %1$s: eraser friendly name, %2$d: array index */
|
/* translators: 1: eraser friendly name, 2: array index */
|
||||||
__( 'Expected messages key to reference an array in response array from %1$s eraser (index %2$d).' ),
|
__( 'Expected messages key to reference an array in response array from %1$s eraser (index %2$d).' ),
|
||||||
esc_html( $eraser_friendly_name ),
|
esc_html( $eraser_friendly_name ),
|
||||||
$eraser_index
|
$eraser_index
|
||||||
|
@ -4680,7 +4680,7 @@ function wp_ajax_wp_privacy_erase_personal_data() {
|
||||||
if ( ! array_key_exists( 'done', $response ) ) {
|
if ( ! array_key_exists( 'done', $response ) ) {
|
||||||
wp_send_json_error(
|
wp_send_json_error(
|
||||||
sprintf(
|
sprintf(
|
||||||
/* translators: %1$s: eraser friendly name, %2$d: array index */
|
/* translators: 1: eraser friendly name, 2: array index */
|
||||||
__( 'Expected done flag in response array from %1$s eraser (index %2$d).' ),
|
__( 'Expected done flag in response array from %1$s eraser (index %2$d).' ),
|
||||||
esc_html( $eraser_friendly_name ),
|
esc_html( $eraser_friendly_name ),
|
||||||
$eraser_index
|
$eraser_index
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-43087';
|
$wp_version = '5.0-alpha-43088';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue