[wp-trac] [WordPress Trac] #31050: Better PDF Upload Management

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


#31050: Better PDF Upload Management
--------------------------------------------+---------------------------
 Reporter:  celloexpressions                |       Owner:  mikeschroder
     Type:  feature request                 |      Status:  closed
 Priority:  normal                          |   Milestone:  4.7
Component:  Media                           |     Version:
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch needs-testing commit  |     Focuses:  ui
--------------------------------------------+---------------------------

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/31050#comment:101>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list