Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56467, comment 411


Ignore:
Timestamp:
11/01/2022 07:53:24 PM (2 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56467, comment 411

    initial v1  
    11> I would think this logic is pointless to run for classic themes without a theme.json
    22
    3 One of the changes introduced in 6.1 is that some blocks now load their styles using the __experimentalStyles property in their block.json, as well as from their CSS file. Given that blocks and their styles are loaded for both classic and block themes, it is necessary for us to output these rules into CSS in both types of themes. Hope that makes sense!
     3One of the changes introduced in 6.1 is that some blocks now load their styles using the `__experimentalStyles` property in their block.json, as well as from their CSS file. Given that blocks and their styles are loaded for both classic and block themes, it is necessary for us to output these rules into CSS in both types of themes. Hope that makes sense!
    44