Changeset 3345194
- Timestamp:
- 08/15/2025 02:23:56 PM (8 months ago)
- Location:
- fense-block-vpn-proxy
- Files:
-
- 86 added
- 6 edited
-
tags/2.7.0 (added)
-
tags/2.7.0/admin (added)
-
tags/2.7.0/admin/class-fense-bpvt-admin.php (added)
-
tags/2.7.0/admin/css (added)
-
tags/2.7.0/admin/css/bootstrap-tagsinput.css (added)
-
tags/2.7.0/admin/css/fense-bpvt-admin.css (added)
-
tags/2.7.0/admin/css/fense-bpvt-mdb.css (added)
-
tags/2.7.0/admin/index.php (added)
-
tags/2.7.0/admin/js (added)
-
tags/2.7.0/admin/js/apex-chart.js (added)
-
tags/2.7.0/admin/js/bootstrap-tagsinput.min.js (added)
-
tags/2.7.0/admin/js/bootstrap.min.js (added)
-
tags/2.7.0/admin/js/bootstrap.min.js.map (added)
-
tags/2.7.0/admin/js/chart.js (added)
-
tags/2.7.0/admin/js/fense-bpvt-admin.js (added)
-
tags/2.7.0/admin/js/fense-bpvt-options.js (added)
-
tags/2.7.0/admin/js/ms.js (added)
-
tags/2.7.0/admin/partials (added)
-
tags/2.7.0/admin/partials/fense-bpvt-admin-display.php (added)
-
tags/2.7.0/admin/partials/fense-bpvt-admin-settings-display.php (added)
-
tags/2.7.0/admin/theme (added)
-
tags/2.7.0/admin/theme/css (added)
-
tags/2.7.0/admin/theme/css/app-rtl.min.css (added)
-
tags/2.7.0/admin/theme/css/app.min.css (added)
-
tags/2.7.0/admin/theme/css/bootstrap-rtl.min.css (added)
-
tags/2.7.0/admin/theme/css/bootstrap.min.css (added)
-
tags/2.7.0/admin/theme/css/custom.min.css (added)
-
tags/2.7.0/admin/theme/css/icons.min.css (added)
-
tags/2.7.0/admin/theme/fonts (added)
-
tags/2.7.0/admin/theme/fonts/boxicons.eot (added)
-
tags/2.7.0/admin/theme/fonts/boxicons.ttf (added)
-
tags/2.7.0/admin/theme/fonts/boxicons.woff (added)
-
tags/2.7.0/admin/theme/fonts/hkgrotesk-regular.woff (added)
-
tags/2.7.0/admin/theme/fonts/la-brands-400.eot (added)
-
tags/2.7.0/admin/theme/fonts/la-brands-400.ttf (added)
-
tags/2.7.0/admin/theme/fonts/la-brands-400.woff (added)
-
tags/2.7.0/admin/theme/fonts/la-brands-400d41d.eot (added)
-
tags/2.7.0/admin/theme/fonts/la-regular-400.eot (added)
-
tags/2.7.0/admin/theme/fonts/la-regular-400.ttf (added)
-
tags/2.7.0/admin/theme/fonts/la-regular-400.woff (added)
-
tags/2.7.0/admin/theme/fonts/la-regular-400d41d.eot (added)
-
tags/2.7.0/admin/theme/fonts/la-solid-900.eot (added)
-
tags/2.7.0/admin/theme/fonts/la-solid-900.ttf (added)
-
tags/2.7.0/admin/theme/fonts/la-solid-900.woff (added)
-
tags/2.7.0/admin/theme/fonts/la-solid-900d41d.eot (added)
-
tags/2.7.0/admin/theme/fonts/materialdesignicons-webfont1d2d.eot (added)
-
tags/2.7.0/admin/theme/fonts/materialdesignicons-webfont1d2d.ttf (added)
-
tags/2.7.0/admin/theme/fonts/materialdesignicons-webfont1d2d.woff (added)
-
tags/2.7.0/admin/theme/fonts/materialdesignicons-webfontd41d.eot (added)
-
tags/2.7.0/admin/theme/fonts/remixicondf6d.eot (added)
-
tags/2.7.0/admin/theme/fonts/remixicondf6d.ttf (added)
-
tags/2.7.0/admin/theme/fonts/remixicondf6d.woff (added)
-
tags/2.7.0/fense-bpvt.php (added)
-
tags/2.7.0/includes (added)
-
tags/2.7.0/includes/class-fense-bpvt-admin-inputs.php (added)
-
tags/2.7.0/includes/class-fense-bpvt-deactivator.php (added)
-
tags/2.7.0/includes/class-fense-bpvt-i18n.php (added)
-
tags/2.7.0/includes/class-fense-bpvt-loader.php (added)
-
tags/2.7.0/includes/class-fense-bpvt.php (added)
-
tags/2.7.0/includes/core (added)
-
tags/2.7.0/includes/core/class-fense-bpvt-functions.php (added)
-
tags/2.7.0/includes/core/class-fense-bpvt-run-save-mode.php (added)
-
tags/2.7.0/includes/core/class-fense-bpvt-run.php (added)
-
tags/2.7.0/includes/core/class-fense-bpvt-stats.php (added)
-
tags/2.7.0/includes/index.php (added)
-
tags/2.7.0/includes/js (added)
-
tags/2.7.0/includes/js/fense-bpvt-scan-debug.js (added)
-
tags/2.7.0/includes/js/fense-bpvt-scan.js (added)
-
tags/2.7.0/includes/system (added)
-
tags/2.7.0/includes/system/fense-bpvt-activate-plugin.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-api-call.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-cache-safe-mode.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-check-version.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-deactivate-plugin.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-header-code.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-load-stats.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-plugin-settings.php (added)
-
tags/2.7.0/includes/system/fense-bpvt-plugin-updates.php (added)
-
tags/2.7.0/index.php (added)
-
tags/2.7.0/languages (added)
-
tags/2.7.0/languages/default.mo (added)
-
tags/2.7.0/languages/default.po (added)
-
tags/2.7.0/languages/fense-block-vpn-proxy-ar.mo (added)
-
tags/2.7.0/languages/fense-block-vpn-proxy-ar.po (added)
-
tags/2.7.0/readme.txt (added)
-
tags/2.7.0/uninstall.php (added)
-
trunk/fense-bpvt.php (modified) (2 diffs)
-
trunk/includes/core/class-fense-bpvt-run-save-mode.php (modified) (2 diffs)
-
trunk/includes/core/class-fense-bpvt-run.php (modified) (2 diffs)
-
trunk/includes/system/fense-bpvt-api-call.php (modified) (1 diff)
-
trunk/includes/system/fense-bpvt-cache-safe-mode.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fense-block-vpn-proxy/trunk/fense-bpvt.php
r3342511 r3345194 35 35 * Plugin URI: https://fense.in/ 36 36 * Description: With Fense You can easily Protect Your ads and Website From Bad Traffic that Leads To Destroy Your Rank and Force Ad Network To Close Your Account. 37 * Version: 2. 6.037 * Version: 2.7.0 38 38 * Author: Devozon 39 39 * Author URI: https://devozon.com/ … … 49 49 } 50 50 51 const FENSE_BPVT_VERSION = '2. 6.0';51 const FENSE_BPVT_VERSION = '2.7.0'; 52 52 const FENSE_BPVT_API_LINK = 'https://api.fense.in/'; 53 53 const FENSE_BPVT_MAIN_LINK = 'https://fense.in/'; -
fense-block-vpn-proxy/trunk/includes/core/class-fense-bpvt-run-save-mode.php
r3342511 r3345194 80 80 $this->ip = $this->Fense_FUN->get_the_user_ip(); 81 81 82 return $this->ip; 83 } 84 85 public function isCache(): array 86 { 82 87 /** Load Data From Cache if Exists */ 83 88 $Gip = get_transient( 'bpvt_ip_' . md5( $this->AppKey . '_' . $this->ip ) ); … … 87 92 if ( time() < $expires ) { 88 93 89 return null; 90 } 91 92 return $this->ip; 94 /** add ip data from cache to var */ 95 $this->ipData = $Gip['data']; 96 97 /** check if country is blocked */ 98 $country = $this->__country(); 99 100 return [ 'stop' => true, 'isProxy' => $country['isProxy'] ]; 101 } 102 103 return [ 'stop' => false, 'isProxy' => false ]; 93 104 } 94 105 -
fense-block-vpn-proxy/trunk/includes/core/class-fense-bpvt-run.php
r3342511 r3345194 80 80 $this->ip = $this->Fense_FUN->get_the_user_ip(); 81 81 82 return $this->ip; 83 } 84 85 public function isCache(): bool 86 { 82 87 /** Load Data From Cache if Exists */ 83 88 $Gip = get_transient( 'bpvt_ip_' . md5( $this->AppKey . '_' . $this->ip ) ); … … 87 92 if ( time() < $expires ) { 88 93 94 /** add header code for ads block */ 89 95 if ( esc_attr( get_option( 'FENSE_BPVT_DEVOZON_protection_mode' ) ) == 'show_content' ) { 90 96 add_action( 'wp_head', 'FENSE_BPVT_header_code' ); 91 97 } 92 98 93 return null; 94 } 95 96 return $this->ip; 99 /** add ip data from cache to var */ 100 $this->ipData = $Gip['data']; 101 102 /** check if country is blocked */ 103 $this->__country(); 104 105 return true; 106 } 107 108 return false; 97 109 } 98 110 -
fense-block-vpn-proxy/trunk/includes/system/fense-bpvt-api-call.php
r3342511 r3345194 58 58 if ( !$RUN->loadSettings()->enable ) return null; 59 59 60 /** Exit if Plugin Cache Exists */ 61 if ( $RUN->isCache() ) return null; 62 60 63 /** Handle IP Whitelisting, Blacklisting Settings */ 61 64 if ( $RUN->__ipHandleWhitelistBlacklist() ) return true; -
fense-block-vpn-proxy/trunk/includes/system/fense-bpvt-cache-safe-mode.php
r3342511 r3345194 65 65 /** Exit if Plugin is Disabled */ 66 66 if ( !$SaveMode->loadSettings()->enable ) return $this->success(); 67 68 /** Handle cache is exists */ 69 if ( $SaveMode->isCache()['stop'] ) return $this->success( $SaveMode->__country()['isProxy'] ); 67 70 68 71 /** Handle IP Whitelisting, Blacklisting Settings */ -
fense-block-vpn-proxy/trunk/readme.txt
r3342511 r3345194 5 5 Tested up to: 6.8.2 6 6 Requires PHP: 7.4 7 Stable tag: 2. 6.07 Stable tag: 2.7.0 8 8 License: GPLv2 9 9
Note: See TracChangeset
for help on using the changeset viewer.