[wp-trac] [WordPress Trac] #14929: wp_cache_*() could be refactored into static class functions

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 22 00:08:39 UTC 2010


#14929: wp_cache_*() could be refactored into static class functions
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 the global function family wp_cache_*() could be refactored into the
 standard object cache class as static functions.

 This can (probably, not verified) prevent unloading / destruction problems
 that we are facing in some scenarios as well as converting the global
 variable implementation into a static class variable.

 it's not the holy grail but maybe some idea.

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


More information about the wp-trac mailing list