Make WordPress Core


Ignore:
Timestamp:
07/19/2021 09:13:36 PM (4 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-admin/authorize-application.php

    r50932 r51463  
    9191if ( wp_is_site_protected_by_basic_auth( 'front' ) ) {
    9292    wp_die(
    93         __( 'Your website appears to use Basic Authentication, which is not currently compatible with Application Passwords.' ),
     93        __( 'Your website appears to use Basic Authentication, which is not currently compatible with application passwords.' ),
    9494        __( 'Cannot Authorize Application' ),
    9595        array(
     
    148148                printf(
    149149                    /* translators: %s: Application name. */
    150                     __( 'Would you like to give the application identifying itself as %s access to your account? You should only do this if you trust the app in question.' ),
     150                    __( 'Would you like to give the application identifying itself as %s access to your account? You should only do this if you trust the application in question.' ),
    151151                    '<strong>' . esc_html( $app_name ) . '</strong>'
    152152                );
     
    154154            </p>
    155155        <?php else : ?>
    156             <p><?php _e( 'Would you like to give this application access to your account? You should only do this if you trust the app in question.' ); ?></p>
     156            <p><?php _e( 'Would you like to give this application access to your account? You should only do this if you trust the application in question.' ); ?></p>
    157157        <?php endif; ?>
    158158
     
    248248                <?php
    249249                submit_button(
    250                     __( 'Yes, I approve of this connection.' ),
     250                    __( 'Yes, I approve of this connection' ),
    251251                    'primary',
    252252                    'approve',
     
    263263                            /* translators: %s: The URL the user is being redirected to. */
    264264                            __( 'You will be sent to %s' ),
    265                             '<strong><kbd>' . esc_html(
     265                            '<strong><code>' . esc_html(
    266266                                add_query_arg(
    267267                                    array(
     
    272272                                    $success_url
    273273                                )
    274                             ) . '</kbd></strong>'
     274                            ) . '</code></strong>'
    275275                        );
    276276                    } else {
     
    282282                <?php
    283283                submit_button(
    284                     __( 'No, I do not approve of this connection.' ),
     284                    __( 'No, I do not approve of this connection' ),
    285285                    'secondary',
    286286                    'reject',
     
    297297                            /* translators: %s: The URL the user is being redirected to. */
    298298                            __( 'You will be sent to %s' ),
    299                             '<strong><kbd>' . esc_html( $reject_url ) . '</kbd></strong>'
     299                            '<strong><code>' . esc_html( $reject_url ) . '</code></strong>'
    300300                        );
    301301                    } else {
Note: See TracChangeset for help on using the changeset viewer.