[wp-trac] [WordPress Trac] #61625: Styles enqueued from block.json are not correctly configured for RTL

WordPress Trac noreply at wordpress.org
Wed Nov 12 14:27:28 UTC 2025


#61625: Styles enqueued from block.json are not correctly configured for RTL
---------------------------+------------------------------
 Reporter:  ryelle         |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  rtl
---------------------------+------------------------------
Changes (by sippis):

 * keywords:   => needs-patch


Comment:

 We just ran into this with @tnke and another colleague. Can confirm it's
 still an issue with 6.8.3 but partially fixed on 6.9-RC1-61214.

 In 6.9-RC1-61214 RTL styles are inlined correctly, but style tag still
 suggests non RTL file as `sourceURL`.

 `register_block_style_handle` sets the file path correctly for RTL,
 leaving src untouched. This leads to RTL file being inlined correctly as
 well, while src being non RTL version and making its way to `sourceURL` of
 inlined styles.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61625#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list