[wp-trac] [WordPress Trac] #53090: Admin color schemes don't work in RTL

WordPress Trac noreply at wordpress.org
Tue Apr 27 07:53:53 UTC 2021


#53090: Admin color schemes don't work in RTL
----------------------------+-----------------------
 Reporter:  tomjcafferkey   |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |     Focuses:  css, rtl
----------------------------+-----------------------

Comment (by tomjcafferkey):

 Hi @desrosj

 Thank you for getting back to me so quickly and replicating the issue.

 I'd just like to clarify that I don't believe this is an issue within the
 plugin, the plugin is surfacing an issue within core due to some missing
 information that the documentation advises should be added to core
 stylesheet data which the plugin is expecting.

 As per the documentation [here]https://codex.wordpress.org/Right-to-
 Left_Language_Support it is advised that the additional RTL data should be
 added when the Site Language is set to an RTL site language.

 >Use wp_style_add_data to set the rtl property to replace for your
 stylesheet.

 This is something core does with other stylesheets (admin-menu etc)
 however the colors stylesheet is missing this data which the Page Optimize
 plugin has surfaced during some testing.

 If you've any further questions on this, or I have misunderstood the issue
 please don't hesitate to let me know.

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


More information about the wp-trac mailing list