[wp-trac] [WordPress Trac] #59111: A stale register_core_block_style_handles cache can cause styles not to load
    WordPress Trac 
    noreply at wordpress.org
       
    Thu Aug 17 21:59:24 UTC 2023
    
    
  
#59111: A stale register_core_block_style_handles cache can cause styles not to
load
--------------------------+--------------------------
 Reporter:  joemcgill     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Themes        |     Version:  6.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  performance
--------------------------+--------------------------
Comment (by coreyw):
 This issue also occurs with "atomic" deployment methods that utilize
 symlinks to update the current document root (`/srv/site/current` ->
 `/srv/site/releases/3`, etc.). Since WordPress is saving the full absolute
 path in the database it causes this issue for every deployment.
 I realize this is not standard WordPress install, but it is common, and
 best practice for applications. And I can't think of any reason where
 absolute paths would ever need be saved to the database.
 For now we can run `wp transient delete wp_core_block_css_files` after
 each deployment.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59111#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list