[wp-trac] [WordPress Trac] #61591: Multiple bundled themes: block editor style is added incorrectly

WordPress Trac noreply at wordpress.org
Thu Dec 5 12:51:36 UTC 2024


#61591: Multiple bundled themes: block editor style is added incorrectly
-------------------------------------------------+-------------------------
 Reporter:  poena                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Bundled Theme                        |     Version:  6.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing changes-     |     Focuses:
  requested                                      |
-------------------------------------------------+-------------------------
Changes (by poena):

 * keywords:  has-patch needs-testing => has-patch needs-testing changes-
     requested


Comment:

 The concern is not only the warning, the styles should be unchanged and
 working, and this needs to be tested.

 In Twenty Eleven, the editor-blocks.css contains styles for both the
 interface and for the blocks, to enqueue both correctly, the file would
 need to be split.

 enqueue_block_assets for blocks
 enqueue_block_editor_assets for the interface

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


More information about the wp-trac mailing list