Changeset 3264143
- Timestamp:
- 03/30/2025 06:35:12 PM (12 months ago)
- Location:
- traffic-jammer
- Files:
-
- 4 edited
- 1 copied
-
tags/1.4.9 (copied) (copied from traffic-jammer/trunk)
-
tags/1.4.9/readme.txt (modified) (2 diffs)
-
tags/1.4.9/traffic-jammer.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/traffic-jammer.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
traffic-jammer/tags/1.4.9/readme.txt
r3264080 r3264143 5 5 Requires at least: 5.6 6 6 Tested up to: 6.7.2 7 Stable tag: 1.4. 87 Stable tag: 1.4.9 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 59 59 60 60 == Changelog == 61 62 = 1.4.9 = 63 * disallow network activation on a multisite 64 65 = 1.4.8 = 66 * fix php error during plugin deactivation 67 61 68 = 1.4.7 = 62 69 * fix bug on the report -
traffic-jammer/tags/1.4.9/traffic-jammer.php
r3264080 r3264143 9 9 * Plugin URI: https://wordpress.org/plugins/traffic-jammer/ 10 10 * Description: WordPress plugin to block IP and bots that causes malicious traffic. 11 * Version: 1.4.8 11 * Network: false 12 * Version: 1.4.9 12 13 * Requires at least: 5.6 13 14 * Requires PHP: 7.4 … … 31 32 * Activate plugin 32 33 * 33 * @return void 34 */ 35 function trafficjammer_activate() { 34 * @param string $network_wide callback value. 35 * @return void 36 */ 37 function trafficjammer_activate( $network_wide ) { 38 if ( is_multisite() && $network_wide ) { 39 wp_die( 'Plugin cannot be activated network wide, try activating the plugin on individual sites.' ); 40 } 41 36 42 global $wpdb; 37 43 // define the bad bots. … … 88 94 } 89 95 } 96 90 97 register_activation_hook( __FILE__, 'trafficjammer_activate' ); 91 98 -
traffic-jammer/trunk/readme.txt
r3264080 r3264143 5 5 Requires at least: 5.6 6 6 Tested up to: 6.7.2 7 Stable tag: 1.4. 87 Stable tag: 1.4.9 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 59 59 60 60 == Changelog == 61 62 = 1.4.9 = 63 * disallow network activation on a multisite 64 65 = 1.4.8 = 66 * fix php error during plugin deactivation 67 61 68 = 1.4.7 = 62 69 * fix bug on the report -
traffic-jammer/trunk/traffic-jammer.php
r3264080 r3264143 9 9 * Plugin URI: https://wordpress.org/plugins/traffic-jammer/ 10 10 * Description: WordPress plugin to block IP and bots that causes malicious traffic. 11 * Version: 1.4.8 11 * Network: false 12 * Version: 1.4.9 12 13 * Requires at least: 5.6 13 14 * Requires PHP: 7.4 … … 31 32 * Activate plugin 32 33 * 33 * @return void 34 */ 35 function trafficjammer_activate() { 34 * @param string $network_wide callback value. 35 * @return void 36 */ 37 function trafficjammer_activate( $network_wide ) { 38 if ( is_multisite() && $network_wide ) { 39 wp_die( 'Plugin cannot be activated network wide, try activating the plugin on individual sites.' ); 40 } 41 36 42 global $wpdb; 37 43 // define the bad bots. … … 88 94 } 89 95 } 96 90 97 register_activation_hook( __FILE__, 'trafficjammer_activate' ); 91 98
Note: See TracChangeset
for help on using the changeset viewer.