I18N: Remove redundant default text domain parameter in some __() calls.

Follow-up to [43919], [44262], [48141], [50259].

See #52627.

git-svn-id: https://develop.svn.wordpress.org/trunk@51160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-06-15 16:15:12 +00:00
parent a663d98561
commit ba65211c29
2 changed files with 5 additions and 5 deletions

View File

@@ -140,11 +140,11 @@ function wp_default_packages_vendor( $scripts ) {
'dow' => (int) get_option( 'start_of_week', 0 ),
),
'longDateFormat' => array(
'LT' => get_option( 'time_format', __( 'g:i a', 'default' ) ),
'LT' => get_option( 'time_format', __( 'g:i a' ) ),
'LTS' => null,
'L' => null,
'LL' => get_option( 'date_format', __( 'F j, Y', 'default' ) ),
'LLL' => __( 'F j, Y g:i a', 'default' ),
'LL' => get_option( 'date_format', __( 'F j, Y' ) ),
'LLL' => __( 'F j, Y g:i a' ),
'LLLL' => null,
),
)
@@ -262,7 +262,7 @@ function wp_default_packages_scripts( $scripts ) {
* is called before wp.i18n is defined.
*/
if ( 'wp-i18n' === $handle ) {
$ltr = _x( 'ltr', 'text direction', 'default' );
$ltr = _x( 'ltr', 'text direction' );
$script = sprintf( "wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ '%s' ] } );", $ltr );
$scripts->add_inline_script( $handle, $script, 'after' );
}