Changeset 3252747
- Timestamp:
- 03/09/2025 05:28:38 AM (12 months ago)
- Location:
- wp-ban/trunk
- Files:
-
- 4 edited
-
ban-options.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
uninstall.php (modified) (1 diff)
-
wp-ban.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-ban/trunk/ban-options.php
r2828350 r3252747 1 1 <?php 2 if ( ! defined( 'ABSPATH' ) ) { 3 exit; 4 } 5 2 6 ### Check Whether User Can Manage Ban Options 3 if (!current_user_can('manage_options')) {4 die( 'Access Denied');7 if ( ! current_user_can( 'manage_options' ) ) { 8 die( 'Access Denied' ); 5 9 } 6 10 -
wp-ban/trunk/readme.txt
r2949754 r3252747 4 4 Tags: banned, ban, deny, denied, permission, ip, hostname, host, spam, bots, bot, exclude, referrer, url, referral, range 5 5 Requires at least: 4.3 6 Tested up to: 6. 37 Stable tag: 1.69. 16 Tested up to: 6.5 7 Stable tag: 1.69.2 8 8 9 9 Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog. … … 25 25 26 26 ## Changelog 27 ### Version 1.69.2 28 * NEW: Don't allow to access ban-options.php directly 29 27 30 ### Version 1.69.1 28 31 * NEW: Fixed XSS -
wp-ban/trunk/uninstall.php
r1047756 r3252747 3 3 * Uninstall plugin 4 4 */ 5 if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) 6 exit (); 5 if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { 6 exit; 7 } 7 8 8 9 $option_names = array( -
wp-ban/trunk/wp-ban.php
r2828350 r3252747 4 4 Plugin URI: https://lesterchan.net/portfolio/programming/php/ 5 5 Description: 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. 16 Version: 1.69.2 7 7 Author: Lester 'GaMerZ' Chan 8 8 Author URI: https://lesterchan.net … … 12 12 13 13 /* 14 Copyright 202 2Lester Chan (email : [email protected])14 Copyright 2025 Lester Chan (email : [email protected]) 15 15 16 16 This program is free software; you can redistribute it and/or modify
Note: See TracChangeset
for help on using the changeset viewer.