Changeset 2726827
- Timestamp:
- 05/19/2022 01:00:23 PM (3 years ago)
- Location:
- wt-security
- Files:
-
- 397 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
wt-security/trunk/lib/Interface.php
r2723090 r2726827 39 39 } 40 40 elseif(WebTotemOption::isActivated()) { 41 // Checking whether agents are installed, if they not installed, then install.41 // Checking whether agents are installed, if they are not installed, then install. 42 42 self::checkAgents(); 43 43 } … … 57 57 58 58 /** 59 * Checking whether agents are installed, if they not installed, then install.59 * Checking whether agents are installed, if they are not installed, then install. 60 60 */ 61 61 private static function checkAgents(){ … … 63 63 $api_key = WebTotemOption::getOption('api_key'); 64 64 65 // Check if the plugin version has changed. 66 WebTotemAgentManager::checkVersion(); 67 65 68 if(!$api_key){ 66 // Check if the plugin version has changed.67 WebTotemAgentManager::checkVersion();68 69 $api_key = WebTotemOption::getOption('api_key'); 69 70 } … … 91 92 */ 92 93 public static function addNewSite($new_site){ 93 if(WebTotem::isMultiSite() and is_super_admin()) {94 94 $domain = untrailingslashit($new_site->domain . $new_site->path); 95 95 WebTotemOption::setNotification( 'info', _('A new website has been added: ', 'wtotem') . $domain); 96 96 WebTotemAPI::addMultiSiteNewSites([$domain]); 97 }98 97 } 99 98 … … 123 122 */ 124 123 public static function enqueueScripts() { 125 if( str_contains( WebTotemRequest::get( 'page' ), 'wtotem_' ) ){ 124 $_page = WebTotemRequest::get('page'); 125 if(strpos($_page, 'wtotem') === 0){ 126 126 // Adding CSS files. 127 127 wp_register_style( -
wt-security/trunk/readme.txt
r2724948 r2726827 71 71 72 72 == Changelog == 73 = 2.4.7 = 74 * Fixed a bug related to using the function str_contains 75 73 76 = 2.4.6 = 74 77 * Internal improvements -
wt-security/trunk/wt-security.php
r2724948 r2726827 8 8 * Text Domain: wtotem 9 9 * Domain Path: /lang 10 * Version: 2.4. 610 * Version: 2.4.7 11 11 * 12 12 * PHP version 7 … … 55 55 * Current version of the plugin's code. 56 56 */ 57 define('WEBTOTEM_VERSION', '2.4. 6');57 define('WEBTOTEM_VERSION', '2.4.7'); 58 58 59 59 /**
Note: See TracChangeset
for help on using the changeset viewer.