Changeset 57031 for branches/6.4/src/wp-includes/blocks/index.php
- Timestamp:
- 10/31/2023 11:57:35 AM (15 months ago)
- Location:
- branches/6.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
-
branches/6.4/src/wp-includes/blocks/index.php
r56785 r57031 107 107 $wp_styles->add_data( $style_handle, 'path', $path ); 108 108 109 $rtl_file = str_replace( "{$suffix}.css", "-rtl{$suffix}.css", $path );109 $rtl_file = "{$name}/{$filename}-rtl{$suffix}.css"; 110 110 if ( is_rtl() && in_array( $rtl_file, $files, true ) ) { 111 111 $wp_styles->add_data( $style_handle, 'rtl', 'replace' ); 112 112 $wp_styles->add_data( $style_handle, 'suffix', $suffix ); 113 $wp_styles->add_data( $style_handle, 'path', $rtl_file);113 $wp_styles->add_data( $style_handle, 'path', str_replace( "{$suffix}.css", "-rtl{$suffix}.css", $path ) ); 114 114 } 115 115 };
Note: See TracChangeset
for help on using the changeset viewer.