[wp-trac] [WordPress Trac] #63254: Introduce development mode for block editor styles
WordPress Trac
noreply at wordpress.org
Thu Jun 26 19:23:09 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 commit needs-dev-note | Focuses:
---------------------------------------------+-----------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"60355" 60355]:
{{{
#!CommitTicketReference repository="" revision="60355"
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.
Props helgatheviking, abcd95, gziolo, whaze, audrasjb, sandeepdahiya,
rollybueno.
Fixes #63254.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63254#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list