Plugin Directory

Changeset 2993868


Ignore:
Timestamp:
11/10/2023 11:14:02 AM (2 years ago)
Author:
slick2
Message:

Update to version 1.2.4 from GitHub

Location:
traffic-jammer
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • traffic-jammer/assets/icon-256x256.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/assets/screenshot-1.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/assets/screenshot-2.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/assets/screenshot-3.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/assets/screenshot-4.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/assets/screenshot-5.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/assets/screenshot-6.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/assets/screenshot-7.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • traffic-jammer/tags/1.2.4/README.md

    r2985314 r2993868  
    66Requires at least: 5.2
    77
    8 Tested up to: 6.3.2
     8Tested up to: 6.4.1
    99
    10 Stable tag: 1.2.3
     10Stable tag: 1.2.4
    1111
    1212Requires PHP: 7.4
  • traffic-jammer/tags/1.2.4/readme.txt

    r2985314 r2993868  
    44Tags: block, ip, pantheon, block ip, security, malicious ip, block bots, pantheon block ip
    55Requires at least: 5.2
    6 Tested up to: 6.3.2
    7 Stable tag: 1.2.3
     6Tested up to: 6.4.1
     7Stable tag: 1.2.4
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    5555
    5656== Changelog ==
     57= 1.2.4 =
     58* Tested to work with version 6.4.1
     59
    5760= 1.2.3 =
    5861* Tested to work WordPress version 6.3.2
  • traffic-jammer/tags/1.2.4/traffic-jammer.php

    r2985314 r2993868  
    99 * Plugin URI:          https://wordpress.org/plugins/traffic-jammer/
    1010 * Description:         WordPress plugin to block IP and bots that causes malicious traffic.
    11  * Version:             1.2.3
     11 * Version:             1.2.4
    1212 * Requires at least:   5.2
    1313 * Requires PHP:        7.4
     
    1919 */
    2020
    21 /** 
    22  * Sanitize server variables. 
    23  */
    24 $cef6d44b_server = array_map('trafficjammer_server_var', $_SERVER);
     21/**
     22 * Sanitize server variables.
     23 */
     24$cef6d44b_server = array_map( 'trafficjammer_server_var', $_SERVER );
    2525// real visitor IP address when using Cloudflare proxy.
    26 if ( !empty($cef6d44b_server['HTTP_CF_CONNECTING_IP']) ) {
    27     $cef6d44b_server['REMOTE_ADDR'] = $cef6d44b_server['HTTP_CF_CONNECTING_IP'];
     26if ( ! empty( $cef6d44b_server['HTTP_CF_CONNECTING_IP'] ) ) {
     27    $cef6d44b_server['REMOTE_ADDR'] = $cef6d44b_server['HTTP_CF_CONNECTING_IP'];
    2828}
    2929
     
    8787        wp_schedule_event( time(), 'hourly', 'trafficjammer_cron_hook' );
    8888    }
    89 
    9089}
    9190register_activation_hook( __FILE__, 'trafficjammer_activate' );
     
    111110    remove_action( 'init', 'trafficjammer_traffic_live' );
    112111    $wpdb->query( $wpdb->prepare( 'TRUNCATE TABLE %s', $table_name ) );
    113 
    114112}
    115113register_deactivation_hook( __FILE__, 'trafficjammer_deactivate' );
     
    206204 *
    207205 * @param array $username callback to show username.
    208  * 
     206 *
    209207 * @return void
    210208 */
     
    524522    );
    525523    wp_enqueue_script( 'jquery-ui-tabs' );
    526 
    527524}
    528525add_action( 'admin_init', 'trafficjammer_admin_init' );
     
    601598    echo '<br>';
    602599    echo 'Block execesive request, example: <code>/?1234567890</code> ';
    603 
    604600}
    605601/**
  • traffic-jammer/trunk/README.md

    r2985314 r2993868  
    66Requires at least: 5.2
    77
    8 Tested up to: 6.3.2
     8Tested up to: 6.4.1
    99
    10 Stable tag: 1.2.3
     10Stable tag: 1.2.4
    1111
    1212Requires PHP: 7.4
  • traffic-jammer/trunk/readme.txt

    r2985314 r2993868  
    44Tags: block, ip, pantheon, block ip, security, malicious ip, block bots, pantheon block ip
    55Requires at least: 5.2
    6 Tested up to: 6.3.2
    7 Stable tag: 1.2.3
     6Tested up to: 6.4.1
     7Stable tag: 1.2.4
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    5555
    5656== Changelog ==
     57= 1.2.4 =
     58* Tested to work with version 6.4.1
     59
    5760= 1.2.3 =
    5861* Tested to work WordPress version 6.3.2
  • traffic-jammer/trunk/traffic-jammer.php

    r2985314 r2993868  
    99 * Plugin URI:          https://wordpress.org/plugins/traffic-jammer/
    1010 * Description:         WordPress plugin to block IP and bots that causes malicious traffic.
    11  * Version:             1.2.3
     11 * Version:             1.2.4
    1212 * Requires at least:   5.2
    1313 * Requires PHP:        7.4
     
    1919 */
    2020
    21 /** 
    22  * Sanitize server variables. 
    23  */
    24 $cef6d44b_server = array_map('trafficjammer_server_var', $_SERVER);
     21/**
     22 * Sanitize server variables.
     23 */
     24$cef6d44b_server = array_map( 'trafficjammer_server_var', $_SERVER );
    2525// real visitor IP address when using Cloudflare proxy.
    26 if ( !empty($cef6d44b_server['HTTP_CF_CONNECTING_IP']) ) {
    27     $cef6d44b_server['REMOTE_ADDR'] = $cef6d44b_server['HTTP_CF_CONNECTING_IP'];
     26if ( ! empty( $cef6d44b_server['HTTP_CF_CONNECTING_IP'] ) ) {
     27    $cef6d44b_server['REMOTE_ADDR'] = $cef6d44b_server['HTTP_CF_CONNECTING_IP'];
    2828}
    2929
     
    8787        wp_schedule_event( time(), 'hourly', 'trafficjammer_cron_hook' );
    8888    }
    89 
    9089}
    9190register_activation_hook( __FILE__, 'trafficjammer_activate' );
     
    111110    remove_action( 'init', 'trafficjammer_traffic_live' );
    112111    $wpdb->query( $wpdb->prepare( 'TRUNCATE TABLE %s', $table_name ) );
    113 
    114112}
    115113register_deactivation_hook( __FILE__, 'trafficjammer_deactivate' );
     
    206204 *
    207205 * @param array $username callback to show username.
    208  * 
     206 *
    209207 * @return void
    210208 */
     
    524522    );
    525523    wp_enqueue_script( 'jquery-ui-tabs' );
    526 
    527524}
    528525add_action( 'admin_init', 'trafficjammer_admin_init' );
     
    601598    echo '<br>';
    602599    echo 'Block execesive request, example: <code>/?1234567890</code> ';
    603 
    604600}
    605601/**
Note: See TracChangeset for help on using the changeset viewer.