Plugin Directory

Changeset 3252747


Ignore:
Timestamp:
03/09/2025 05:28:38 AM (12 months ago)
Author:
GamerZ
Message:

Deploying wp-ban from GitHub

Location:
wp-ban/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-ban/trunk/ban-options.php

    r2828350 r3252747  
    11<?php
     2if ( ! defined( 'ABSPATH' ) ) {
     3    exit;
     4}
     5
    26### Check Whether User Can Manage Ban Options
    3 if(!current_user_can('manage_options')) {
    4     die('Access Denied');
     7if ( ! current_user_can( 'manage_options' ) ) {
     8    die( 'Access Denied' );
    59}
    610
  • wp-ban/trunk/readme.txt

    r2949754 r3252747  
    44Tags: banned, ban, deny, denied, permission, ip, hostname, host, spam, bots, bot, exclude, referrer, url, referral, range 
    55Requires at least: 4.3   
    6 Tested up to: 6.3 
    7 Stable tag: 1.69.1 
     6Tested up to: 6.5 
     7Stable tag: 1.69.2 
    88
    99Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.
     
    2525
    2626## Changelog
     27### Version 1.69.2
     28* NEW: Don't allow to access ban-options.php directly
     29
    2730### Version 1.69.1
    2831* NEW: Fixed XSS
  • wp-ban/trunk/uninstall.php

    r1047756 r3252747  
    33 * Uninstall plugin
    44 */
    5 if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
    6     exit ();
     5if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
     6    exit;
     7}
    78
    89$option_names = array(
  • wp-ban/trunk/wp-ban.php

    r2828350 r3252747  
    44Plugin URI: https://lesterchan.net/portfolio/programming/php/
    55Description: Ban users by IP, IP Range, host name, user agent and referer url from visiting your WordPress's blog. It will display a custom ban message when the banned IP, IP range, host name, user agent or referer url tries to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recordered on how many times they attemp to visit your blog. It allows wildcard matching too.
    6 Version: 1.69.1
     6Version: 1.69.2
    77Author: Lester 'GaMerZ' Chan
    88Author URI: https://lesterchan.net
     
    1212
    1313/*
    14     Copyright 2022  Lester Chan  (email : [email protected])
     14    Copyright 2025  Lester Chan  (email : [email protected])
    1515
    1616    This program is free software; you can redistribute it and/or modify
Note: See TracChangeset for help on using the changeset viewer.