[wp-trac] [WordPress Trac] #22543: ImageMagick: Call to undefined method Imagick::setIteratorIndex()

WordPress Trac noreply at wordpress.org
Tue Nov 27 01:54:52 UTC 2012


#22543: ImageMagick: Call to undefined method Imagick::setIteratorIndex()
--------------------------+--------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by DH-Shredder):

 In  [attachment:22543-6.diff​  22543-6.diff​]:
 - Move mime check to supports_mime_type()
 - Reject if setIteratorIndex isn't available, and the mime is anything
 other than image/jpeg.
 - Split Imagick checks in test() for clarity and bail early if the
 extension isn't loaded.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22543#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list