Changeset 3322416
- Timestamp:
- 07/04/2025 04:00:56 PM (9 months ago)
- Location:
- content-freeze/tags/0.1.3
- Files:
-
- 4 copied
-
. (copied) (copied from content-freeze/trunk)
-
content-freeze.php (copied) (copied from content-freeze/trunk/content-freeze.php) (1 diff)
-
readme.txt (copied) (copied from content-freeze/trunk/readme.txt)
-
settings.php (copied) (copied from content-freeze/trunk/settings.php) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
content-freeze/tags/0.1.3/content-freeze.php
r3322414 r3322416 4 4 Plugin URI: http://www.wholegraindigital.com/ 5 5 Description: The content freeze plugin would allow an admin to 'lock' all content on the site for a given time period 6 Version: 0.1. 46 Version: 0.1.3 7 7 Author: Wholegrain Digital 8 8 Author URI: http://www.wholegraindigital.com/ -
content-freeze/tags/0.1.3/settings.php
r3322383 r3322416 22 22 $this->settings_field = 'content_freeze_options'; 23 23 $this->options = get_option($this->settings_field); 24 25 if ($this->options === false) {26 $this->options = [];27 }28 24 29 25 if (is_admin()) { … … 122 118 123 119 protected function get_field_value($key) { 124 if (!array_key_exists($key, $this->options)) {125 return null;126 }127 120 128 121 return $this->options[$key]; … … 201 194 } // end class 202 195 endif; 196 ?>
Note: See TracChangeset
for help on using the changeset viewer.