[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 15:56:38 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 gillespieza):

 Ah, thanks. No, I'm not using a plugin for that, but a code snippet that
 filters `upload_mimes` and `wp_check_filetype_and_ext`. You wouldn't
 happen to know, off-hand, what filter I should use to set a height/width?
 I'm guessing `wp_update_attachment_metadata`?

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


More information about the wp-trac mailing list