[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 19:33:35 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 needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by azaozz):
Replying to [comment:3 Otto42]:
Thanks for testing! :)
Seems the same functionality (check if the attachment ID matches the
image) will be needed at least at one more place, in the edit image end
point. Will update the patch and commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50543#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list