Make WordPress Core

Changeset 56304

Timestamp:
07/25/2023 02:42:22 PM (12 months ago)
Author:
audrasjb
Message:

Twenty Twenty-One: Enable Dark Mode in the block editor iframe.

This changeset replaces add_action( 'enqueue_block_editor_assets' ), with add_action( 'enqueue_block_assets' ), in class Twenty_Twenty_One_Dark_Mode and class
Twenty_Twenty_One_Custom_Colors. This fixes an issue when activating dark mode in Twenty Twenty-One, where dark mode was not enabled in the block editor.

Props poena, mikinc860, huzaifaalmesbah, hasanuzzamanshamim, Ankit-K-Gupta.
Reviewed by desrosj, audrasjb.
Merges [56300] to the 6.3 branch.
Fixes #58835.

Location:
branches/6.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.