Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #58528, comment 2


Ignore:
Timestamp:
06/13/2023 12:20:42 PM (2 years ago)
Author:
spacedmonkey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58528, comment 2

    v1 v2  
    1 @aristath @flixo90 @joemcgill
     1@aristath @flixos90 @joemcgill
    22
    33So I have been doing some discovery on this ticket. I found the issue. realpath is being in `register_block_style_handle`, on styles that we know do not exist. Realpath on file that do not exist, are expensive and are not cached. In https://github.com/WordPress/wordpress-develop/commit/716a99587c04e5b37b4ceacc3ccce6c72c842464, styles are register for editor and fe, in a way that they are meant to register with URL false, so developer can register inline styles.