[wp-trac] [WordPress Trac] #51865: Add filter to `wp_image_src_get_dimensions`

WordPress Trac noreply at wordpress.org
Tue Dec 1 16:48:04 UTC 2020


#51865: Add filter to `wp_image_src_get_dimensions`
-------------------------------------------------+-------------------------
 Reporter:  joemcgill                            |       Owner:  joemcgill
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.7
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by ianmjones):

 Replying to [comment:7 joemcgill]:
 > @ianmjones I've updated the patch to include the `wp_basename()` change,
 which makes sense to me. I suspect that this wouldn't cause false
 positives at this point since we've already matched the attachment ID.

 Excellent, thank you! 🎉️

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


More information about the wp-trac mailing list