[wp-trac] [WordPress Trac] #38522: HTTP Errors on Upload with Certain PDFs

WordPress Trac noreply at wordpress.org
Fri Nov 18 22:21:22 UTC 2016


#38522: HTTP Errors on Upload with Certain PDFs
---------------------------+---------------------------
 Reporter:  mikeschroder   |       Owner:  mikeschroder
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  4.7
Component:  Media          |     Version:  trunk
 Severity:  normal         |  Resolution:  fixed
 Keywords:  needs-testing  |     Focuses:
---------------------------+---------------------------

Comment (by mikeschroder):

 In [changeset:"39303"]:
 {{{
 #!CommitTicketReference repository="" revision="39303"
 Media: Allow override of PDF setup for multiple pages or DPI.

 After [39187], WordPress started loading only the first page of a PDF.

 This is appropriate for performance, but made it impossible to
 write plugins that read other pages without overriding `load()`.

 Introduces `WP_Image_Editor_Imagick->pdf_setup()`, to allow an override
 to change WordPress' rendering DPI defaults or which pages are loaded.

 Fixes #38832. See #38522, #31050.
 Props markoheijnen, joemcgill, mikeschroder.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38522#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list