Plugin Directory

Changeset 3453405


Ignore:
Timestamp:
02/04/2026 02:47:14 AM (5 weeks ago)
Author:
rermis
Message:

v6.1.1 = * Improved visit handling of blocked ips

Location:
admin-toolbox/tags/6.1.1
Files:
7 copied

Legend:

Unmodified
Added
Removed
  • admin-toolbox/tags/6.1.1/atb_functions.php

    r3437331 r3453405  
    66Author: RLDD
    77Author URI: https://richardlerma.com/contact/
    8 Version: 6.1.0
     8Version: 6.1.1
    99Text Domain: admin-toolbox
    1010Copyright: (c) 2017-2026 rldd.net - All Rights Reserved
     
    1313*/
    1414
    15 global $atb_version; $atb_version='6.1.0';
     15global $atb_version; $atb_version='6.1.1';
    1616if(!defined('ABSPATH')) exit;
    1717
     
    198198  $userid=0;
    199199  $ip=atb_ip();
     200 
     201  if(function_exists('atb_check_abuse')) {
     202    $abuse_score=get_transient("abu_$ip");
     203    if($abuse_score>5) {header("HTTP/1.1 403 Forbidden");exit();}
     204  }
     205 
    200206  $url=sanitize_text_field(substr($_SERVER['REQUEST_URI'],0,250));
    201207  if(!get_transient("atb_flag_".atb_cui())) if(is_user_logged_in()) $userid=atb_cui();
     
    217223    atb_r("INSERT INTO wp_atb_pagehits(ip,userid,url,referrer) VALUES ('$ip','$userid','$url','$referrer');");
    218224  } else atb_r("UPDATE wp_atb_pagehits SET subsq=IFNULL(subsq,0)+1 WHERE ip='$ip' AND userid='$userid' AND url='$url' ORDER BY hit_id DESC LIMIT 1;");
    219 
    220   if(function_exists('atb_check_abuse')) {
    221     $abuse_score=get_transient("abu_$ip");
    222     if($abuse_score>5) {header("HTTP/1.1 401 Unauthorized");exit();}
    223   }
    224225}
    225226
  • admin-toolbox/tags/6.1.1/readme.txt

    r3437331 r3453405  
    66Requires at least: 6.0
    77Tested up to: 6.9
    8 Stable tag: 6.1.0
     8Stable tag: 6.1.1
    99
    1010Manage an array of administrative options improving user control and resource management.
     
    4848
    4949== Changelog ==
     50= 6.1.1 = * Improved visit handling of blocked ips
    5051= 6.1.0 = * Add option to disable admin email types. Workaround for running page_hit process on small servers.
    5152= 6.0.37 = * Minor aesthetic improvements
Note: See TracChangeset for help on using the changeset viewer.