[wp-trac] [WordPress Trac] #11559: split HTTP Class and Functions

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 10:35:00 UTC 2009


#11559: split HTTP Class and Functions
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Optimization  |     Version:  3.0        
 Severity:  normal        |    Keywords:  2nd-opinion
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 I use the approach in each and every one of my plugins. The key front end
 stuff is always loaded. Less used stuff is only loaded on a per-need
 basis. It works great.

 For WP files, I can picture us doing the same for:

  - HTTP, SimplePie, Mailer, IXR, etc. (the various class-*.php files)
  - Localization if the language is the WP default

 Localization stuff could be discarded entirely, and treated as a set of
 functions that merely return the string when the language is the one used
 by default in WP.

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


More information about the wp-trac mailing list