[wp-trac] [WordPress Trac] #45577: Gutenberg RTL styles not loading due to wrong file names in style tag

WordPress Trac noreply at wordpress.org
Tue Dec 11 08:53:02 UTC 2018


#45577: Gutenberg RTL styles not loading due to wrong file names in style tag
--------------------------+-----------------------------
 Reporter:  salar6990     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  5.0
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45577>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list