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

WordPress Trac noreply at wordpress.org
Mon Jun 23 15:51:09 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:
--------------------------------------------------+-----------------------

Comment (by sandeepdahiya):

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

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

 === 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: Firefox 139.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Custom Style Test Block
   * Test Reports 1.2.0

 === Actual Results
 1. Before patch:

 - Registered a custom block with editorStyle pointing to a compiled
 build/index.css
 - Reloaded block editor without cache clear
 - index.css loaded without timestamp versioning
 - [https://ibb.co/MDjSW4SL checkout the image]

 2. After patch:
 - ✅ The patch worked as expected
 - ✅ Observed the CSS file now loads with ?ver=1750687743 based on
 filemtime()
 - ✅ Edited editor.scss, performed npm run build and changes reflected as
 expected
 - ✅ Confirmed via browser DevTools: version query param updates after
 each build
 - ✅ [https://ibb.co/gMz9CV9h checkout the image]

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


More information about the wp-trac mailing list