#2288 closed defect (bug) (fixed)
Reenable cache for safe_mode hosts
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.0 |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
Changeset 3436 disabled the cache when safe_mode is enabled. Why? It seems to work fine with a proper setup (manually created cache dir, proper dir permissions and safe_mode settings).
Attachments (1)
Change History (7)
#3
@
20 years ago
BTW, you can't use get_option() in the cache because the cache is loaded and initialized before everything except $wpdb.
Note: See
TracTickets for help on using
tickets.
Agreed, there shouldn't be a blanket condition there. Could we change
if (ini_get('safe_mode'))to
if (ini_get('safe_mode') && get_option('safe_mode_no_cache'))Then people with safe mode, who knew what they were doing, could just pop over to wp-admin/options.php (we wouldn't display this option by default in the admin) and change it to true?