Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#14929 closed enhancement (wontfix)

wp_cache_*() could be refactored into static class functions

Reported by: hakre Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


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.

Change History (3)

#1 @hakre
10 years ago

  • Type changed from defect (bug) to enhancement

#2 @hakre
10 years ago

File is /wp-includes/cache.php.

This can make it easier to extend (probably).

#3 @nacin
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.