[wp-trac] [WordPress Trac] #54941: Gutenberg is disabled but Duotone add severals SVG in front and back.

WordPress Trac noreply at wordpress.org
Thu Jan 27 18:27:35 UTC 2022


#54941: Gutenberg is disabled but Duotone add severals SVG in front and back.
---------------------------+------------------------------
 Reporter:  deuxparquatre  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Editor         |     Version:  5.9
 Severity:  major          |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+------------------------------

Comment (by deuxparquatre):

 Replying to [comment:2 chesio]:
 > I have the same problem. I'm using a custom-made theme with Classic
 Editor - obviously these SVG tags in footer serve no purpose on my
 website.

 For now, you can go in /wp-includes/block-supports/duotone.php and remove
 the wp_footer add_action in line 463.

 Note that your edit'll be lost on the next update.


 Cheers 🍻

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


More information about the wp-trac mailing list