Done !
Server IP : 162.0.217.223 / Your IP : 216.73.216.153 Web Server : LiteSpeed System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : mypckeys ( 1539) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mypckeys/yeslicense.org/wp-content/plugins/tawkto-live-chat/upgrades/ |
Upload File : |
<?php if ( ! class_exists( 'TawkToUpgradeBase' ) ) { require_once dirname( __FILE__ ) . '/base.php'; } /** * Upgrade for release version 0.9.0 */ class TawkToUpgradeVersion090 extends TawkToUpgradeBase { const VERSION = '0.9.0'; /** * Migration for visitor recognition * * Move the visitor recognition setting from visibility to privacy. */ public static function upgrade() { $visibility = get_option( TawkTo_Settings::TAWK_VISIBILITY_OPTIONS, array() ); if ( isset( $visibility['enable_visitor_recognition'] ) ) { update_option( TawkTo_Settings::TAWK_PRIVACY_OPTIONS, array( 'enable_visitor_recognition' => $visibility['enable_visitor_recognition'] ) ); unset( $visibility['enable_visitor_recognition'] ); update_option( TawkTo_Settings::TAWK_VISIBILITY_OPTIONS, $visibility ); } update_option( TawkTo_Settings::TAWK_SECURITY_OPTIONS, array( 'js_api_key' => '' ) ); } }