[wp-trac] [WordPress Trac] #35480: Some notice and warning in wp_calculate_image_srcset() function media.php
WordPress Trac
noreply at wordpress.org
Tue Mar 15 22:35:55 UTC 2016
#35480: Some notice and warning in wp_calculate_image_srcset() function media.php
--------------------------------------+------------------------
Reporter: overclokk | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.5
Component: Media | Version: 4.4.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+------------------------
Changes (by jaspermdegroot):
* keywords: needs-unit-tests has-patch => has-patch has-unit-tests
Comment:
In 35480.1.patch: I changed the file name check so it only checks the name
of the original / full size image in the beginning. If it's incorrect we
won't get the correct baseurl so we shouldn't continue. Also added a unit
test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35480#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list