Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Custom PHP scripts and Hide My WP plugin #22064
    eGene
    Post count: 10

    It has solved the issue.

    • This reply was modified 7 years, 2 months ago by eGene.
    in reply to: Custom PHP scripts and Hide My WP plugin #22044
    eGene
    Post count: 10

    I believe I found an error and it looks like the problem is in your code (load.php).

    $block_ip = false;
    if ($this->opt('blocked_ips') || ($this->opt('trust_network'))) {
        $rules = get_option('trust_network_rules');
        $banned_ips = array_merge(explode(',', $this->opt('blocked_ips')), explode(',', $rules['ip']));
        ....

    Here you can see that it would read and block IPs from trust_network_rules even when it’s disabled in case there is an IP added manually to blocked_ips field. This was my case. I think it should check $this->opt(‘trust_network’) again before reading from ‘trust_network_rules’.

    • This reply was modified 7 years, 2 months ago by eGene.
    in reply to: Custom PHP scripts and Hide My WP plugin #22040
    eGene
    Post count: 10

    Also, Trust Network is disabled.

    in reply to: Custom PHP scripts and Hide My WP plugin #22039
    eGene
    Post count: 10

    It started happening again. Those 2 checkboxes are unchecked and my cron script is still blocked.

    in reply to: Custom PHP scripts and Hide My WP plugin #21852
    eGene
    Post count: 10

    Correction. It actually works with those options disabled. I looked at a wrong place while verifying it. Thank you.

    in reply to: Custom PHP scripts and Hide My WP plugin #21851
    eGene
    Post count: 10

    Both these options are disabled, no help.

Viewing 6 posts - 1 through 6 (of 6 total)