[wp-trac] [WordPress Trac] #8772: replace the filter 'use_http_extension_transport' with 'use_exthttp_transport'

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 1 03:20:17 GMT 2009


#8772: replace the filter 'use_http_extension_transport' with
'use_exthttp_transport'
--------------------------+-------------------------------------------------
 Reporter:  DD32          |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  HTTP          |     Version:  2.7      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 The filter to disable the PHP HTTP Extension differs in naming from the
 rest of the filters, This makes it slightly awkward for plugins to manage
 the enabling/disabling due to the filters name differing from the class
 name, Ignoring the fact that plugins can work around it, It seems worthy
 that such a change should be made to at least bring consistency.

 The attached patch depreciates the current filter name, and introduces the
 new. The current filter continues to work via a depreciated function hook,
 I dont think removing it entirely would be appreciated, And whilst it
 could just use 2 apply_filter() calls in the HTTP class, This seemed a
 better option.

 Note: Theres no function to mark a filter as depreciated, i guess they've
 generally just been removed..

 As much as i'd like this in 2.7, i'm leaving it open to consideration if
 its even going to make it into 2.8, I'll work around it in my plugin for
 now..

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8772>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list