[wp-trac] [WordPress Trac] #35480: Some notice and warning in wp_calculate_image_srcset() function media.php
WordPress Trac
noreply at wordpress.org
Mon Jan 18 14:42:22 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 needs-unit-tests | Focuses: template
----------------------------------------+------------------------
Comment (by joemcgill):
@dd32 It seems as though sizes are registered in the attachment metadata,
but the data for each size isn't an array (as expected).
@overclokk could you dump an example of some output from
`wp_get_attachment_metadata()` so we can se what the data looks like when
this bug is present?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35480#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list