[wp-trac] [WordPress Trac] #50628: Media: wp_image_file_matches_image_meta() doesn't match when the original_image URL is used
WordPress Trac
noreply at wordpress.org
Sun Jul 12 21:18:52 UTC 2020
#50628: Media: wp_image_file_matches_image_meta() doesn't match when the
original_image URL is used
--------------------------------------+---------------------
Reporter: azaozz | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Changes (by azaozz):
* owner: (none) => azaozz
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"48454" 48454]:
{{{
#!CommitTicketReference repository="" revision="48454"
Media: Fix `wp_image_file_matches_image_meta()` to also match when the
original image URL is used.
Also refreshes and fixes some of the unit tests for media, and replaces
test-image-large.png with test-image-large.jpg which is larger to allow
testing of `original_image` in the image meta.
Fixes #50628.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50628#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list