[wp-trac] [WordPress Trac] #51865: Add filter to `wp_image_src_get_dimensions`
WordPress Trac
noreply at wordpress.org
Tue Feb 2 04:15:52 UTC 2021
#51865: Add filter to `wp_image_src_get_dimensions`
-------------------------------------------------+-------------------------
Reporter: joemcgill | Owner: joemcgill
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.7
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests needs- | Focuses:
dev-note |
-------------------------------------------------+-------------------------
Comment (by dd32):
Just noting, that I dug into this a tad more, and it was caused by a `<img
... class=“wp-image-3241"...>` where post ID 3241 was not a valid
attachment, but was copy-pasted or potentially imported from another
WordPress site.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51865#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list