Plugin Directory

Changeset 912992


Ignore:
Timestamp:
05/12/2014 11:18:01 PM (12 years ago)
Author:
Faison
Message:

Uploading Version 0.6.1

Location:
project-force-field
Files:
10 added
3 edited

Legend:

Unmodified
Added
Removed
  • project-force-field/trunk/classes/class-force-field.php

    r906056 r912992  
    1818    class OG_Force_Field {
    1919
    20         const VERSION = '0.6.0';
     20        const VERSION = '0.6.1';
    2121
    2222        const VERSION_OPTION = 'ogff_version';
     
    6060
    6161                // 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 );
    6366
    6467                // Add filters to fix the login url
     
    6669                add_filter( 'network_site_url', array( $this, 'fix_network_login_path' ), 10, 3 );
    6770                add_filter( 'wp_redirect', array( $this, 'fix_redirect_login_path' ) );
    68 
    69                 // Add action that makes sure the new login path is correct
    70                 add_action( 'init', array( $this, 'check_polarity' ) );
    7171
    7272                // Add filters/actions for monitoring Brute Force Attacks
     
    231231            $file_manager = $this->system_manager->get_file_manager();
    232232            $login        = $this->get_new_login();
    233             $permalinks   = ( '' !== $wp_rewrite->permalink_structure );
     233            $permalinks   = ( $wp_rewrite->using_permalinks() );
    234234
    235235            $this->rewrite_manager = new OG_Force_Field_Rewrite_Manager( $file_manager, $filename, $login, $permalinks );
     
    372372
    373373        public function activate() {
    374             $this->setup_rewrite_manager();
    375 
    376             $this->rewrite_manager->shields_up();
    377 
    378374            $this->zero_out_hits();
    379375
  • project-force-field/trunk/project-force-field.php

    r906056 r912992  
    55 * Author: Faison Zutavern
    66 * Author URI: http://www.orionweb.net/
    7  * Version: 0.6.0
     7 * Version: 0.6.1
    88 */
    99
  • project-force-field/trunk/readme.txt

    r906060 r912992  
    44Requires at least: 3.8
    55Tested up to: 3.9
    6 Stable tag: 0.6.0
     6Stable tag: 0.6.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7878== Changelog ==
    7979
     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
    8083= 0.6.0 =
    8184* **Enhancement**: Added protection from WordPress User Enumeration.
     
    9194
    9295== Upgrade Notice ==
     96= 0.6.1 =
     97This version eliminates an error/warning that displays when updating and activating Project Force Field.
     98
    9399= 0.6.0 =
    94100This 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.