Opened 6 years ago
Closed 6 years ago
#45577 closed defect (bug) (duplicate)
Gutenberg RTL styles not loading due to wrong file names in style tag
Reported by: | salar6990 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0 |
Component: | Script Loader | Keywords: | |
Focuses: | Cc: |
Description
When adding the add_theme_support( 'wp-block-styles' ) ,
it adds the tags but in RTL locale mode, the files have wrong src which causes a 404 error and gutenberg element styles not to be loaded.
src that is given by wp:
https://example.com/wp-includes/css/dist/block-library/style.min-rtl.css?ver=ee900cd59a5ed6d877a06ad5cffc6aac
file available in wp-includes:
https://example.com/wp-includes/css/dist/block-library/style-rtl.min.css
Same happens for theme.css
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hello @salar6990, welcome to WordPress Trac!
Thanks for your report, we're already tracking this issue in #45547.