[wp-trac] [WordPress Trac] #50543: Media: wp_image_src_get_dimensions() may throw warning or return wrong values
WordPress Trac
noreply at wordpress.org
Sun Jul 5 23:17:33 UTC 2020
#50543: Media: wp_image_src_get_dimensions() may throw warning or return wrong
values
-------------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------
Changes (by azaozz):
* keywords: has-patch needs-testing needs-unit-tests => has-patch needs-
testing
Comment:
In 50543:
- Introduce `wp_image_file_matches_image_meta()` and
`wp_image_file_matches_image_meta` filter as this will be needed in few
places.
- Add few tests for the new function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50543#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list