Changeset 55544
- Timestamp:
- 03/14/2023 03:58:34 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r55447 r55544 261 261 wp_style_add_data( $style_handle, 'path', $style_path_norm ); 262 262 263 $rtl_file = str_replace( "{$suffix}.css", "-rtl{$suffix}.css", $style_path_norm ); 263 if ( $is_core_block ) { 264 $rtl_file = str_replace( "{$suffix}.css", "-rtl{$suffix}.css", $style_path_norm ); 265 } else { 266 $rtl_file = str_replace( ".css", "-rtl.css", $style_path_norm ); 267 } 264 268 265 269 if ( is_rtl() && file_exists( $rtl_file ) ) {
Note: See TracChangeset
for help on using the changeset viewer.