Plugin Directory

Changeset 3317988


Ignore:
Timestamp:
06/26/2025 05:55:11 AM (8 months ago)
Author:
devozon
Message:

Prepare trunk for v2.1.0

Location:
fense-block-vpn-proxy
Files:
89 added
4 edited

Legend:

Unmodified
Added
Removed
  • fense-block-vpn-proxy/trunk/fense-bpvt.php

    r3317944 r3317988  
    3535 * Plugin URI:        https://fense.in/
    3636 * 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.0.0
     37 * Version:           2.1.0
    3838 * Author:            Devozon
    3939 * Author URI:        https://devozon.com/
     
    4949}
    5050
    51 const FENSE_BPVT_VERSION = '2.0.0';
     51const FENSE_BPVT_VERSION = '2.1.0';
    5252const FENSE_BPVT_API_LINK = 'https://api.fense.in/';
    5353const FENSE_BPVT_MAIN_LINK = 'https://fense.in/';
  • fense-block-vpn-proxy/trunk/includes/core/class-fense-bpvt-functions.php

    r3317944 r3317988  
    493493        }
    494494       
    495         define( 'FENSE_BPVT_DONOTCACHEPAGE', true ); // Do not cache this page.
    496        
    497         wp_die( '<p>' . $message . ' ' . $mlink . '</p>', $message, [ 'back_link' => true ] );
     495        define( 'DONOTCACHEPAGE', true ); // Do not cache this page.
     496       
     497        wp_die( '<p>' . $message . ' ' . $mlink . '</p>', $message, [ 'back_link' => true, 'response' => 403 ] );
    498498    }
    499499   
  • fense-block-vpn-proxy/trunk/includes/system/fense-bpvt-api-call.php

    r3317944 r3317988  
    2323}
    2424
    25 if ( !defined( 'DONOTCACHEPAGE' ) ) {
    26     define( 'DONOTCACHEPAGE', true );
    27 }
     25add_action( 'wp', 'FENSE_BPVT_detection', 0 );
    2826
    29 add_action( 'wp', 'FENSE_BPVT_detection' );
     27add_action( 'login_init', 'FENSE_BPVT_detection', 0 );
    3028
    31 add_action( 'login_init', 'FENSE_BPVT_detection' );
     29add_action( 'login_form', 'FENSE_BPVT_detection', 0 );
    3230
    33 add_action( 'login_form', 'FENSE_BPVT_detection' );
     31add_action( 'muplugins_loaded', 'FENSE_BPVT_detection', 0 );
     32add_action( 'plugins_loaded', 'FENSE_BPVT_detection', 0 );
    3433
    3534function FENSE_BPVT_detection()
    3635{
     36    static $ran = false;
     37    if ( $ran ) return null;
     38   
     39    /**  Load Once */
     40    $ran = true;
     41   
    3742    /**  Load Settings Class */
    3843    $RUN = new FENSE_BPVT_RUN();
  • fense-block-vpn-proxy/trunk/readme.txt

    r3317944 r3317988  
    55Tested up to: 6.8.1
    66Requires PHP: 7.4
    7 Stable tag: 2.0.0
     7Stable tag: 2.1.0
    88License: GPLv2
    99
Note: See TracChangeset for help on using the changeset viewer.