[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 09:20:08 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 spacedmonkey):
@joemcgill Could we not have reused the variable in the line above?
{{{#!php
// Normalize BLOCKS_PATH prior to substitution for Windows environments.
$normalized_blocks_path = wp_normalize_path( BLOCKS_PATH );
$files = glob( wp_normalize_path( $normalized_blocks_path . '**/**.css' )
);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59489#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list