[wp-trac] [WordPress Trac] #56408: Blocks: Allow registering multiple items for all supported asset types

WordPress Trac noreply at wordpress.org
Tue Sep 27 07:38:54 UTC 2022


#56408: Blocks: Allow registering multiple items for all supported asset types
-----------------------------------------------------+---------------------
 Reporter:  gziolo                                   |       Owner:  gziolo
     Type:  task (blessed)                           |      Status:  closed
 Priority:  normal                                   |   Milestone:  6.1
Component:  Editor                                   |     Version:
 Severity:  normal                                   |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-note  |     Focuses:
-----------------------------------------------------+---------------------
Changes (by gziolo):

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


Comment:

 In [changeset:"54323" 54323]:
 {{{
 #!CommitTicketReference repository="" revision="54323"
 Blocks: Fix 404 error for core styles with no file

 [54155] broke loading of style.css files, namely it was enqueuing
 style.css files that don't exist on the frontend, which lead to 404 HTTO
 errors. All these style.css files don't exist for core blocks as they
 should be registered style handlers without a file path.

 Follow-up to [54155].
 Props tobiasbg, nendeb55.
 Fixes #56408, #56614.
 }}}

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


More information about the wp-trac mailing list