Commit d31fc0a
committed
Twenty Twenty-Five: Ensure Editor styles are enqueued.
This changeset replaces `get_parent_theme_file_uri( 'assets/css/editor-style.css' )` with `add_editor_style( 'assets/css/editor-style.css' );` to ensure a relative path to the stylesheet file is used, and not an URL. This prevents the editor stylesheet from not being enqueued on various edge cases.
Props wildworks, sabernhardt, dhruvang21, karmatosed, SirLouen, audrasjb, sandeepdahiya.
Fixes #63399.
git-svn-id: https://develop.svn.wordpress.org/trunk@60424 602fd350-edb4-49c9-b593-d223f7449a821 parent d826f87 commit d31fc0a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments