Changes between Initial Version and Version 1 of Ticket #39883, comment 23
- Timestamp:
- 05/20/2017 08:11:54 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39883, comment 23
initial v1 1 [Update: fixed link to correct patch] 2 1 3 As I understand it, there were essentially two main problems introduced in r38949: 2 4 1. Non-image attachment IDs are now passed to the `image_downsize` filter, where they previously weren't. … … 5 7 Of those two, the second seems to be the most important to address, since there's no way for a developer to avoid this on their own, as @stephdau helpfully explained in the description of this issue. 6 8 7 [attachment:39883. diff] resolves the second problem and partially addresses the first by only passing supported types to the filter. Here are my current assumptions:9 [attachment:39883.2.diff] resolves the second problem and partially addresses the first by only passing supported types to the filter. Here are my current assumptions: 8 10 9 11 * `wp_get_attachment_image_src()` (and related functions) should be able to take a post ID for a PDF and produce image attributes (Since 4.7).