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

WordPress Trac noreply at wordpress.org
Tue Dec 1 16:44:07 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 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.

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


More information about the wp-trac mailing list