WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39883, comment 25


Ignore:
Timestamp:
05/22/2017 07:45:38 PM (3 years ago)
Author:
stephdau
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39883, comment 25

    initial v1  
    1 In [attachment:39883.2.diff], we should make `$supported_types = array( 'image', 'pdf' );` filterable. In our install, we currently do not support PDF thumbnails, for example, and that would let us short-circuit the function when facing a PDF. It would also let integrators add their own types of supported types, should they need to.
     1In [attachment:39883.2.diff], we should make `$supported_types = array( 'image', 'pdf' );` filterable. In our install, we currently do not support PDF thumbnails, for example, and that would let us short-circuit the function when facing a PDF. It would also let integrators add their own supported types, should they need to.