Opened 6 years ago
Closed 6 years ago
#45288 closed defect (bug) (fixed)
Block Editor: check style-editor-rtl.css in RTL languages
Reported by: | mostafa.s1990 | Owned by: | youknowriad |
---|---|---|---|
Milestone: | 5.0 | Priority: | normal |
Severity: | major | Version: | 5.0 |
Component: | Editor | Keywords: | has-patch fixed-5.0 |
Focuses: | rtl | Cc: |
Description
Keep in mind that all our themes don't have the style-editor-rtl.css
file! Because the new version gives the following error.
PHP Warning: file_get_contents(beta/wp-content/themes/twentynineteen/style-editor-rtl.css): failed to open stream: No such file or directory in beta\wp-admin\edit-form-blocks.php on line 204
Attachments (2)
Change History (13)
#4
@
6 years ago
- Milestone changed from 5.0 to 5.0.1
I'm punting this for now. We can reconsider if we have more information.
#5
@
6 years ago
- Milestone changed from 5.0.1 to 5.0
Moving back to 5.0.0 as it seems it happens in all themes with Gutenberg support in RTL languages.
#6
@
6 years ago
- Keywords needs-testing removed
Patch was valid thanks @mostafa.s1990 I updated it with a slightly simpler version. Should be good to go.
#7
@
6 years ago
I created this Gutenberg issue to backport it into the plugin https://github.com/WordPress/gutenberg/issues/12196
#9
@
6 years ago
- Owner set to youknowriad
- Resolution set to fixed
- Status changed from new to closed
In 43923:
Do you have an exemple of theme causing this, to check properly? as the logic seems to apply only when there's a defined editor style. And also the editor styles is opt-in, so this won't break any existing them unless they opt-in.