[wp-trac] [WordPress Trac] #55247: SVG logos generate warnings from _wp_get_image_size_from_meta()

WordPress Trac noreply at wordpress.org
Tue Mar 1 16:31:17 UTC 2022


#55247: SVG logos generate warnings from _wp_get_image_size_from_meta()
--------------------------+------------------------------
 Reporter:  gillespieza   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.9
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by nosilver4u):

 The two plugins I've looked at recently hook into
 wp_generate_attachment_metadata. Here's one example:
 https://plugins.trac.wordpress.org/browser/safe-svg/trunk/safe-
 svg.php#L371

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


More information about the wp-trac mailing list