Commit 5a612a6
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.
Merges [60424] to the 6.8 branch.
Props wildworks, sabernhardt, dhruvang21, karmatosed, SirLouen, audrasjb, sandeepdahiya.
Fixes #63399.
git-svn-id: https://develop.svn.wordpress.org/branches/6.8@60433 602fd350-edb4-49c9-b593-d223f7449a821 parent f442575 commit 5a612a6
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