[wp-trac] [WordPress Trac] #63254: Introduce development mode for block editor styles
WordPress Trac
noreply at wordpress.org
Tue Apr 22 10:55:28 UTC 2025
#63254: Introduce development mode for block editor styles
-------------------------------------+------------------------------
Reporter: helgatheviking | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Comment (by gziolo):
After taking a closer look, I think what @abcd95 provided is the best way
to go forward. I extended that for scripts and script modules. The logic
covers the case when the asset file doesn't contain `version` which
changes based on the file's content. In every other case when
`SCRIPT_DEBUG` is enabled the version should be randomized on every page
load to ensure it never gets served from the cache.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63254#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list