Make WordPress Core


Ignore:
Timestamp:
07/19/2021 09:13:36 PM (3 years ago)
Author:
johnbillion
Message:

Application Passwords: Improve various user-facing and developer-facing terminology.

Fixes #53503, #53691

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php

    r51000 r51463  
    492492            return new WP_Error(
    493493                'rest_cannot_introspect_app_password_for_non_authenticated_user',
    494                 __( 'The authenticated Application Password can only be introspected for the current user.' ),
     494                __( 'The authenticated application password can only be introspected for the current user.' ),
    495495                array( 'status' => rest_authorization_required_code() )
    496496            );
     
    520520            return new WP_Error(
    521521                'rest_no_authenticated_app_password',
    522                 __( 'Cannot introspect Application Password.' ),
     522                __( 'Cannot introspect application password.' ),
    523523                array( 'status' => 404 )
    524524            );
     
    789789                ),
    790790                'app_id'    => array(
    791                     'description' => __( 'A uuid provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.' ),
     791                    'description' => __( 'A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.' ),
    792792                    'type'        => 'string',
    793793                    'format'      => 'uuid',
Note: See TracChangeset for help on using the changeset viewer.