Changeset 221227
- Timestamp:
- 03/24/2010 10:20:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
file-proxy/tags/0.5/com/twothirdsdesign/core/gcp_options.php
r213213 r221227 26 26 { 27 27 // tries to create a cache from wordpress DB options table.// uses plugin preset options not in db 28 $this->_optioncache = unserialize( get_option( $this->options_key , false ));28 $this->_optioncache = get_option( $this->option_key ) !== false ? unserialize( get_option( $this->options_key , '' )) : false; 29 29 if (!$this->_optioncache) $this->_optioncache = $this->_options; 30 30 }
Note: See TracChangeset
for help on using the changeset viewer.