Enhancement #1 Switched from in_array() to faster isset() for referer checking
This commit is contained in:
@ -8,7 +8,7 @@ Author: Stefan Kalscheuer
|
||||
Author URI: https://stklcode.de
|
||||
Plugin URI: https://wordpress.org/plugins/statify-blacklist
|
||||
License: GPLv3 or later
|
||||
Version: 1.1.2
|
||||
Version: 1.2.0
|
||||
*/
|
||||
|
||||
/* Quit */
|
||||
@ -26,6 +26,9 @@ register_activation_hook( STATIFYBLACKLIST_FILE, array( 'StatifyBlacklist_System
|
||||
|
||||
register_uninstall_hook( STATIFYBLACKLIST_FILE, array( 'StatifyBlacklist_System', 'uninstall' ) );
|
||||
|
||||
/* Upgrade hook to v1.2.0 */
|
||||
register_activation_hook( STATIFYBLACKLIST_FILE, array( 'StatifyBlacklist_System', 'upgrade' ) );
|
||||
|
||||
/* Autoload */
|
||||
spl_autoload_register( 'statifyBlacklist_autoload' );
|
||||
|
||||
|
Reference in New Issue
Block a user