WordPress.org

Make WordPress Core

Changeset 48578


Ignore:
Timestamp:
07/23/2020 01:10:40 PM (14 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r48497 r48578  
    983983function _wp_privacy_statuses() {
    984984    return array(
    985         'request-pending'   => __( 'Pending' ),      // Pending confirmation from user.
    986         'request-confirmed' => __( 'Confirmed' ),    // User has confirmed the action.
    987         'request-failed'    => __( 'Failed' ),       // User failed to confirm the action.
    988         'request-completed' => __( 'Completed' ),    // Admin has handled the request.
     985        'request-pending'   => _x( 'Pending', 'request status' ),      // Pending confirmation from user.
     986        'request-confirmed' => _x( 'Confirmed', 'request status' ),    // User has confirmed the action.
     987        'request-failed'    => _x( 'Failed', 'request status' ),       // User failed to confirm the action.
     988        'request-completed' => _x( 'Completed', 'request status' ),    // Admin has handled the request.
    989989    );
    990990}
Note: See TracChangeset for help on using the changeset viewer.