[wp-trac] [WordPress Trac] #63254: Introduce development mode for block editor styles
WordPress Trac
noreply at wordpress.org
Tue Jul 8 08:52:40 UTC 2025
#63254: Introduce development mode for block editor styles
-------------------------------------------------+-------------------------
Reporter: helgatheviking | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8.2
Component: Editor | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note fixed- | Focuses:
major dev-feedback |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"60434" 60434]:
{{{
#!CommitTicketReference repository="" revision="60434"
Editor: Add cache-busting for block styles on development mode.
This changeset introduces a development mode for block editor styles. When
SCRIPT_DEBUG is enabled, block editor styles now use the file modification
time as their version, ensuring cache busting during development. This
matches the behavior that already exists for block scripts.
Previously, block editor styles only used the version from block.json,
which doesn't change during development, causing styles to be cached even
after changes.
Merges [60355] to the 6.8 branch.
Props helgatheviking, abcd95, gziolo, whaze, audrasjb, sandeepdahiya,
rollybueno.
Fixes #63254.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63254#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list