[wp-trac] [WordPress Trac] #34437: The image_downsize filter in wp_prepare_attachment_for_js throws an undefined offset notice.
WordPress Trac
noreply at wordpress.org
Wed Oct 19 21:51:35 UTC 2016
#34437: The image_downsize filter in wp_prepare_attachment_for_js throws an
undefined offset notice.
--------------------------+------------------------
Reporter: justinbusa | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.7
Component: Media | Version: 4.3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Changes (by joemcgill):
* keywords: has-patch reporter-feedback => has-patch
* status: reviewing => accepted
* milestone: Awaiting Review => 4.7
Comment:
[attachment:34437.diff] iterates on [attachment:image_downsize.patch] to
use `empty()` instead of `! isset()` to avoid skipping over instances
where `$downsize[3]` has been set to `false`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34437#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list