[wp-trac] [WordPress Trac] #63254: Introduce development mode for block editor styles

WordPress Trac noreply at wordpress.org
Fri Jun 20 04:04:05 UTC 2025


#63254: Introduce development mode for block editor styles
--------------------------------------------------+-----------------------
 Reporter:  helgatheviking                        |       Owner:  audrasjb
     Type:  defect (bug)                          |      Status:  accepted
 Priority:  normal                                |   Milestone:  6.8.2
Component:  Editor                                |     Version:  5.5
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch dev-feedback needs-testing  |     Focuses:
--------------------------------------------------+-----------------------
Changes (by rollybueno):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-testing


Comment:

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/8725

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 136.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1. ❌ Issue not resolved with patch.
    - Block-level styles and scripts continue to use static version strings
 like `ver=6.9-alpha-60093` even when `SCRIPT_DEBUG` is enabled.
    - DevTools inspection shows no timestamp-based cache busting for
 `style.css` or `editor-script.js`.

 === Additional Notes
 To pull and test the patch:

 {{{
 git fetch upstream pull/8725/head:pr-8725
 git checkout pr-8725
 npm install
 npm run build
 }}}

 - `SCRIPT_DEBUG` was defined.
 - Confirmed that the patch code matches both in the environment and the
 container. Check the screenshot below..

 === Supplemental Artifacts
 ✅ **Confirmation of container** code matched with
 https://github.com/WordPress/wordpress-develop/pull/8725/files#diff-
 8c99af92e4ec0fdb307ddd9b42be1e1ef1efe4a9f31287c23f346244dddd1ce9
 [[Image(https://i.imgur.com/iyaaeNa.png)]]

 ✖️ **Dev console result**
 [[Image(https://i.imgur.com/9iFE5in.png)]]

 ✖️ **Dev console result**
 [[Image(https://i.imgur.com/HtXKELs.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63254#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list