Plugin Directory

Changeset 3400098


Ignore:
Timestamp:
11/21/2025 12:08:04 AM (4 months ago)
Author:
codeplusdev
Message:

Fixed: Fixed a PHP Fatal Error during initial plugin activation

Location:
secuplug/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • secuplug/trunk/readme.txt

    r3366125 r3400098  
    44Requires at least: 4.9
    55Tested up to: 6.8
    6 Stable tag: 1.4.3
     6Stable tag: 1.4.4
    77License: GPLv3 or later
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    9797
    9898== Changelog ==
     99= 1.4.4 =
     100* Fixed: Fixed a PHP Fatal Error during initial plugin activation
     101
    99102= 1.4.3 =
    100103* Fixed: CSP bugs and optimized
  • secuplug/trunk/securefusion.php

    r3366125 r3400098  
    88 * Description: SecureFusion is a lightweight, robust security plugin for WordPress.
    99 *  It gives you the ability to disable specific XML-RPC services, alter the login page address, and force SSL on pages.
    10  * Version: 1.4.3
     10 * Version: 1.4.4
    1111 * Author: codeplusdev <contact@codeplus.dev>
    1212 * Author URI: https://profiles.wordpress.org/codeplusdev/
     
    2020
    2121if ( ! defined( 'SECUREFUSION_VERSION' ) ) {
    22     define( 'SECUREFUSION_VERSION', '1.4.3' );
     22    define( 'SECUREFUSION_VERSION', '1.4.4' );
    2323}
    2424
     
    4747
    4848register_activation_hook( __FILE__, array( $securefusion, 'activate' ) );
     49register_deactivation_hook( __FILE__, array( $securefusion, 'deactivate' ) );
  • secuplug/trunk/src/Lib/Main.php

    r3366125 r3400098  
    9999
    100100        $old_settings = get_option( 'secuplug_settings' );
    101         $new_settings = get_option( 'securefusion_settings' );
     101        $new_settings = get_option( 'securefusion_settings', array() );
    102102
    103103        // Update new slug in option table
     
    138138        dbDelta( $sql );
    139139    }
     140
     141    public function deactivate()
     142    {
     143        delete_option( 'secuplug_settings' );
     144        delete_option( 'securefusion_settings' );
     145    }
    140146}
Note: See TracChangeset for help on using the changeset viewer.