Make WordPress Core

Opened 8 years ago

Closed 8 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:
Priority: normal Milestone:
Component: Script Loader Version: 5.0
Severity: normal Keywords:
Cc: Focuses:

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)

#1 @ocean90
8 years ago

  • Component Themes → Script Loader
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Severity major → normal
  • Status new → closed

Hello @salar6990, welcome to WordPress Trac!

Thanks for your report, we're already tracking this issue in #45547.

Note: See TracTickets for help on using tickets.