[wp-trac] [WordPress Trac] #59489: Stale core block style cache updates not working on Windows OS

WordPress Trac noreply at wordpress.org
Thu Oct 5 16:24:56 UTC 2023


#59489: Stale core block style cache updates not working on Windows OS
-----------------------------------+--------------------------
 Reporter:  wildworks              |       Owner:  joemcgill
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  6.3.2
Component:  Themes                 |     Version:  6.3.2
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch fixed-major  |     Focuses:  performance
-----------------------------------+--------------------------

Comment (by joemcgill):

 @spacedmonkey I considered whether we should really normalize the
 `BLOCK_PATH` value when it's created so it's used throughout, but decided
 against it since other constants like `WP_INC` are not following that
 pattern. There's not really any advantage to using the normalized blocks
 path in the line above, since we would still need to normalize the `'**/
 **.css'` part  of that glob pattern. I just wanted to make sure we weren't
 normalizing the same value inside the `array_map()` loop. I think any
 future optimizations to this process could happen in new tickets at this
 point.

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


More information about the wp-trac mailing list