Make WordPress Core


Ignore:
Timestamp:
05/19/2021 06:09:27 PM (5 years ago)
Author:
davidbaumwald
Message:

I18N: Combine escaping and translation functions.

There are a few instances where two separate functions are used for both escaping and translating output. This change combines the two functions into the appropriate Core helper function.

Props dimadin, SergeyBiryukov.
Fixes #53153.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-application-passwords-list-table.php

    r49746 r50931  
    237237                    printf(
    238238                        '<input type="submit" class="button delete" value="%1$s" aria-label="%2$s">',
    239                         esc_attr( __( 'Revoke' ) ),
     239                        esc_attr__( 'Revoke' ),
    240240                        /* translators: %s: the application password's given name. */
    241241                        esc_attr( sprintf( __( 'Revoke "%s"' ), '{{ data.name }}' ) )
Note: See TracChangeset for help on using the changeset viewer.