Plugin Directory

Changeset 3322416


Ignore:
Timestamp:
07/04/2025 04:00:56 PM (9 months ago)
Author:
tferry
Message:

add tagged version: 0.1.3

Location:
content-freeze/tags/0.1.3
Files:
4 copied

Legend:

Unmodified
Added
Removed
  • content-freeze/tags/0.1.3/content-freeze.php

    r3322414 r3322416  
    44Plugin URI: http://www.wholegraindigital.com/
    55Description: The content freeze plugin would allow an admin to 'lock' all content on the site for a given time period
    6 Version: 0.1.4
     6Version: 0.1.3
    77Author: Wholegrain Digital
    88Author URI: http://www.wholegraindigital.com/
  • content-freeze/tags/0.1.3/settings.php

    r3322383 r3322416  
    2222        $this->settings_field = 'content_freeze_options';
    2323        $this->options = get_option($this->settings_field);
    24 
    25         if ($this->options === false) {
    26             $this->options = [];
    27         }
    2824
    2925        if (is_admin()) {
     
    122118
    123119    protected function get_field_value($key) {
    124         if (!array_key_exists($key, $this->options)) {
    125             return null;
    126         }
    127120
    128121        return $this->options[$key];
     
    201194} // end class
    202195endif;
     196?>
Note: See TracChangeset for help on using the changeset viewer.