[wp-trac] [WordPress Trac] #51330: Allow more granular control over enqueuing editor scripts and styles

WordPress Trac noreply at wordpress.org
Thu Oct 8 01:15:24 UTC 2020


#51330: Allow more granular control over enqueuing editor scripts and styles
-------------------------+-----------------------
 Reporter:  zieladam     |       Owner:  zieladam
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  5.6
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------
Changes (by noisysocks):

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


Comment:

 We should not call `should_load_block_editor_scripts_and_styles` on non-
 admin screens. Doing so makes it easy to introduce errors such as this
 one:

 https://github.com/WordPress/gutenberg/pull/25826#issuecomment-705252901

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


More information about the wp-trac mailing list