[wp-trac] [WordPress Trac] #19931: media.php image interlace filter

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 6 22:38:44 UTC 2012


#19931: media.php image interlace filter
------------------------------------------------+--------------------------
 Reporter:  bobbravo2                           |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Media                               |  Review
 Severity:  normal                              |     Version:  3.3.1
 Keywords:  has-patch needs-testing needs-docs  |  Resolution:
------------------------------------------------+--------------------------

Comment (by markjaquith):

 I think we should pass in {{{$orig_type}}} as a second parameter to the
 filter so that people can interlace only for certain image types.

 Also, please space out your code a bit, like so:

 {{{
 imageinterlace( $newimage, apply_filters( 'image_interlace', false,
 $orig_type ) );
 }}}

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


More information about the wp-trac mailing list