[wp-trac] [WordPress Trac] #58711: register_core_block_style_handles() does not enqueue styles on Windows OS

WordPress Trac noreply at wordpress.org
Wed Jul 5 07:14:36 UTC 2023


#58711: register_core_block_style_handles() does not enqueue styles on Windows OS
-----------------------------------------------+-----------------------
 Reporter:  wildworks                          |       Owner:  audrasjb
     Type:  defect (bug)                       |      Status:  closed
 Priority:  normal                             |   Milestone:  6.3
Component:  Editor                             |     Version:  trunk
 Severity:  normal                             |  Resolution:  fixed
 Keywords:  has-testing-info has-patch commit  |     Focuses:
-----------------------------------------------+-----------------------
Changes (by audrasjb):

 * owner:  (none) => audrasjb
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56136" 56136]:
 {{{
 #!CommitTicketReference repository="" revision="56136"
 Editor: Normalize paths in `register_core_block_style_handles()`.

 Previously, this function did not normalize paths before using `glob()` or
 registering styles. This led to a mixture of forward-slashes and back-
 slashes in
 Windows environments.

 This change uses `wp_normalize_path()` to ensure Windows compatibility.

 Props wildworks, costdev, kafleg, mukesh27.
 Fixes #58711.
 }}}

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


More information about the wp-trac mailing list