[wp-trac] [WordPress Trac] #38832: WP_Image_Editor can no longer edit PDF pages other than the first one
WordPress Trac
noreply at wordpress.org
Wed Nov 16 20:56:55 UTC 2016
#38832: WP_Image_Editor can no longer edit PDF pages other than the first one
--------------------------+-------------------------
Reporter: mikeschroder | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Media | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
After [39187], WordPress force-loads only the first page of a PDF.
As an unintended consequence, if developers were using/extending
`WP_Image_Editor_Imagick` to output other pages, this will be broken in
the current state, and would require them to override `load()` to work
around it.
We should do at least one of the following:
- Find a way to pass desired pages to the editor
- Create a workaround for those cases
- Educate developers on the change
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38832>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list