[wp-trac] [WordPress Trac] #51554: Twenty Twenty theme styles get in way within editor

WordPress Trac noreply at wordpress.org
Fri Oct 30 15:03:33 UTC 2020


#51554: Twenty Twenty theme styles get in way within editor
---------------------------+---------------------
 Reporter:  karmatosed     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.6
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  dev-feedback   |     Focuses:
---------------------------+---------------------

Comment (by kjellr):

 > Can you point to where that hook is documented as "outdated"?

 To clarify: the hook is not depreciated, it's just not the way the
 handbook recommends that themes enqueue their stylesheets.

 https://developer.wordpress.org/block-editor/developers/themes/theme-
 support/#enqueuing-the-editor-style

 I haven't been able to track down when exactly the handbook stopped
 recommending `enqueue_block_editor_assets` for this purpose, but it was
 sometime before [https://github.com/WordPress/gutenberg/pull/12381 Nov
 2018].

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


More information about the wp-trac mailing list