Changeset 51160 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 06/15/2021 04:15:12 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r51149 r51160 141 141 ), 142 142 'longDateFormat' => array( 143 'LT' => get_option( 'time_format', __( 'g:i a' , 'default') ),143 'LT' => get_option( 'time_format', __( 'g:i a' ) ), 144 144 'LTS' => null, 145 145 'L' => null, 146 'LL' => get_option( 'date_format', __( 'F j, Y' , 'default') ),147 'LLL' => __( 'F j, Y g:i a' , 'default'),146 'LL' => get_option( 'date_format', __( 'F j, Y' ) ), 147 'LLL' => __( 'F j, Y g:i a' ), 148 148 'LLLL' => null, 149 149 ), … … 263 263 */ 264 264 if ( 'wp-i18n' === $handle ) { 265 $ltr = _x( 'ltr', 'text direction' , 'default');265 $ltr = _x( 'ltr', 'text direction' ); 266 266 $script = sprintf( "wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ '%s' ] } );", $ltr ); 267 267 $scripts->add_inline_script( $handle, $script, 'after' );
Note: See TracChangeset
for help on using the changeset viewer.