Plugin Directory

Changeset 3393751


Ignore:
Timestamp:
11/11/2025 03:06:39 PM (5 months ago)
Author:
globaliser
Message:

Version 0.9.10 Bugfix for clear cache button and custom login url added

Location:
globaliser
Files:
90 added
4 edited

Legend:

Unmodified
Added
Removed
  • globaliser/trunk/app/controllers/globaliser-controller.php

    r3202469 r3393751  
    1919        // Initiate Language Controller
    2020        (new LanguageController())->main();
     21
     22        // Initiate Language Controller
     23        (new SecurityController())->main();
     24
    2125    }
    2226
     
    2731    }
    2832
    29     function upgrade()
     33    public function upgrade()
    3034    {
    3135        // SET DB TABLES
     
    3741        (new GlobaliserService())->remove_db_tables();
    3842    }
     43
    3944}
  • globaliser/trunk/app/controllers/hooks-controller.php

    r3230681 r3393751  
    4444    {
    4545        $this->on('admin_enqueue_scripts', 'register_statics');
     46        $this->on('wp_enqueue_scripts', 'register_statics');
    4647    }
    4748
    4849    function register_statics()
    4950    {
     51        // Load JS if user is admin or has manage_options capability (can view globaliser plugin)
     52        if (!current_user_can('manage_options')) {
     53            return;
     54        }
     55
    5056        wp_enqueue_script('globaliser-general-js', plugin_dir_url(PLUGIN_FILE) . 'assets/js/globaliser.js', array('jquery'), PLUGIN_VER, true);
    5157        wp_add_inline_script('jquery', 'const GLOBALISER = ' . json_encode(array(
  • globaliser/trunk/globaliser.php

    r3313210 r3393751  
    44   Plugin URI: https://www.globaliser.com/wordpress-hosting/
    55   Description:  This plugin enables Globaliser Cloud Speed, Security, and Reliability features for WordPress sites. It is intended for Globaliser clients only.
    6    Version: 0.9.9
     6   Version: 0.9.10
    77   Author: Globaliser, Inc.
    88   Author URI: https://www.globaliser.com
  • globaliser/trunk/readme.txt

    r3313210 r3393751  
    44Requires at least: 4.6
    55License: GPLv2 or later
    6 Tested up to: 6.8.1
    7 Stable tag: 0.9.9
     6Tested up to: 6.8
     7Stable tag: 0.9.10
    88Requires PHP: 8.1
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2727
    2828== Changelog ==
     29
     30= 0.9.10 =
     31* Login URL implementation is added.
     32* Clear cache button bug fix. 
    2933
    3034= 0.9.9 =
Note: See TracChangeset for help on using the changeset viewer.