Opened 16 years ago
Closed 16 years ago
#14929 closed enhancement (wontfix)
wp_cache_*() could be refactored into static class functions
| Reported by: | hakre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
File is
/wp-includes/cache.php.This can make it easier to extend (probably).