Plugin Directory

Changeset 760164


Ignore:
Timestamp:
08/21/2013 05:24:33 PM (13 years ago)
Author:
bobbravo2
Message:

fixed empty array on get_blocked_ip

Location:
wordpress-by-circle-tree/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-by-circle-tree/trunk/includes/class.wp_login_lockdown.php

    r756947 r760164  
    452452        ob_start();
    453453        require_once wp_by_ct::get_path() . 'includes' . DS . 'pages'. DS. 'captcha.php';
    454         $str = ob_get_clean();
     454        $str = ob_get_contents();
     455        ob_end_clean();
    455456        wp_die($str,'ERROR | TOO MANY LOGIN ATTEMPTS', array('response'=>503));
    456457    }
     
    651652    }
    652653    private function get_whitelisted_ips() {
    653         return get_option(self::WHITELISTED_IP_NAME);
     654        return get_option(self::WHITELISTED_IP_NAME, array());
    654655    }
    655656    private function get_blocked_ips () {
    656         return get_option(self::BLOCKED_IP_NAME);
     657        return get_option(self::BLOCKED_IP_NAME, array());
    657658    }
    658659    private function is_ip_blocked () {
  • wordpress-by-circle-tree/trunk/wordpress-by-circletree.php

    r756953 r760164  
    55Description: Secure Login Screen for Circle Tree powered websites
    66Author: Circle Tree, LLC
    7 Version: 3.0.5
     7Version: 3.0.6
    88Author URI: http://mycircletree.com/
    99*/
Note: See TracChangeset for help on using the changeset viewer.