Changeset 912992
- Timestamp:
- 05/12/2014 11:18:01 PM (12 years ago)
- Location:
- project-force-field
- Files:
-
- 10 added
- 3 edited
-
tags/0.6.1 (added)
-
tags/0.6.1/classes (added)
-
tags/0.6.1/classes/class-base-file-manager.php (added)
-
tags/0.6.1/classes/class-base-system-manager.php (added)
-
tags/0.6.1/classes/class-force-field-rewrite-manager.php (added)
-
tags/0.6.1/classes/class-force-field.php (added)
-
tags/0.6.1/classes/class-wordpress-file-manager.php (added)
-
tags/0.6.1/classes/class-wordpress-system-manager.php (added)
-
tags/0.6.1/project-force-field.php (added)
-
tags/0.6.1/readme.txt (added)
-
trunk/classes/class-force-field.php (modified) (5 diffs)
-
trunk/project-force-field.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
project-force-field/trunk/classes/class-force-field.php
r906056 r912992 18 18 class OG_Force_Field { 19 19 20 const VERSION = '0.6. 0';20 const VERSION = '0.6.1'; 21 21 22 22 const VERSION_OPTION = 'ogff_version'; … … 60 60 61 61 // Add action to check for updates 62 add_action( 'plugins_loaded', array( $this, 'update_force_field' ) ); 62 add_action( 'init', array( $this, 'update_force_field' ) ); 63 64 // Add action that makes sure the new login path is correct 65 add_action( 'init', array( $this, 'check_polarity' ), 20 ); 63 66 64 67 // Add filters to fix the login url … … 66 69 add_filter( 'network_site_url', array( $this, 'fix_network_login_path' ), 10, 3 ); 67 70 add_filter( 'wp_redirect', array( $this, 'fix_redirect_login_path' ) ); 68 69 // Add action that makes sure the new login path is correct70 add_action( 'init', array( $this, 'check_polarity' ) );71 71 72 72 // Add filters/actions for monitoring Brute Force Attacks … … 231 231 $file_manager = $this->system_manager->get_file_manager(); 232 232 $login = $this->get_new_login(); 233 $permalinks = ( '' !== $wp_rewrite->permalink_structure);233 $permalinks = ( $wp_rewrite->using_permalinks() ); 234 234 235 235 $this->rewrite_manager = new OG_Force_Field_Rewrite_Manager( $file_manager, $filename, $login, $permalinks ); … … 372 372 373 373 public function activate() { 374 $this->setup_rewrite_manager();375 376 $this->rewrite_manager->shields_up();377 378 374 $this->zero_out_hits(); 379 375 -
project-force-field/trunk/project-force-field.php
r906056 r912992 5 5 * Author: Faison Zutavern 6 6 * Author URI: http://www.orionweb.net/ 7 * Version: 0.6. 07 * Version: 0.6.1 8 8 */ 9 9 -
project-force-field/trunk/readme.txt
r906060 r912992 4 4 Requires at least: 3.8 5 5 Tested up to: 3.9 6 Stable tag: 0.6. 06 Stable tag: 0.6.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 78 78 == Changelog == 79 79 80 = 0.6.1 = 81 * **Bugfix**: Delayed checking if permalinks are used until the action 'init'. This fixes warnings when updating or activating Project Force Field. 82 80 83 = 0.6.0 = 81 84 * **Enhancement**: Added protection from WordPress User Enumeration. … … 91 94 92 95 == Upgrade Notice == 96 = 0.6.1 = 97 This version eliminates an error/warning that displays when updating and activating Project Force Field. 98 93 99 = 0.6.0 = 94 100 This version adds protection against WordPress User Enumeration, which hackers tend to use before attempting a brute force attack.
Note: See TracChangeset
for help on using the changeset viewer.