Changeset 61471 for trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php
- Timestamp:
- 01/11/2026 09:47:06 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-custom-colors.php
r60537 r61471 24 24 25 25 // Enqueue color variables for editor. 26 add_action( 'enqueue_block_assets', array( $this, 'editor_custom_color_variables' ) ); 26 if ( is_admin() ) { 27 add_action( 'enqueue_block_assets', array( $this, 'editor_custom_color_variables' ) ); 28 } 27 29 28 30 // Add body-class if needed.
Note: See TracChangeset
for help on using the changeset viewer.