Make WordPress Core

Changeset 60424


Ignore:
Timestamp:
07/07/2025 07:04:30 PM (4 days ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.