[wp-trac] [WordPress Trac] #61540: WordPress html block breaks scripts.

WordPress Trac noreply at wordpress.org
Wed Jul 10 17:58:12 UTC 2024


#61540: WordPress html block breaks scripts.
--------------------------+------------------------
 Reporter:  programmin    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:  6.5.5
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  General => Formatting
 * milestone:  Awaiting Review =>


Comment:

 This was reported as early as #43785, so I'll close as a duplicate.

 Also, **if** you can enqueue the script instead of adding it inside a
 block, that should be better (especially because the example relies on
 jQuery).

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


More information about the wp-trac mailing list