[wp-trac] [WordPress Trac] #58835: Twenty Twenty-One: Dark mode is not enabled in the block editor iframe

WordPress Trac noreply at wordpress.org
Tue Jul 25 14:42:37 UTC 2023


#58835: Twenty Twenty-One: Dark mode is not enabled in the block editor iframe
-------------------------------------------------+-------------------------
 Reporter:  poena                                |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  Bundled Theme                        |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-testing-info commit    |     Focuses:
  fixed-major dev-reviewed                       |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56304" 56304]:
 {{{
 #!CommitTicketReference repository="" revision="56304"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58835#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list