Viewing 5 replies - 1 through 5 (of 5 total)
  • Exactly the same. It seems to talk to their website. What I did was create a plugin that you add to plugins/mu-plugins/block-coderockz-http.php and add the following to that (and then activate this plugin first and then activate the delivery date plugin after). This then blocks the plugin from talking to their website. Not ideal but at least the plugin and your site will work until, hopefully, they are back up.

    <?php
    /*
    Plugin Name: Block CodeRockz Remote Calls (temp)
    Description: Short-circuits HTTP calls to coderockz.com to avoid admin slowdowns.
    */
    add_filter('pre_http_request', function ($pre, $r, $url) {
    if (strpos($url, 'coderockz.com') !== false) {
    return new WP_Error('coderockz_blocked', 'Temporarily blocked CodeRockz remote request');
    }
    return $pre;
    }, 10, 3);

    // Keep all HTTP requests snappy while testing
    add_filter('http_request_timeout', function () { return 3; });
    Thread Starter cheesygoat

    (@cheesygoat)

    @greencode

    Hello, I have tried your method, but it does not seems working for my site.

    I have activate your plugin first then the delivery plugin.

    @cheesygoat What happens? Is it still just timing out?

    Thread Starter cheesygoat

    (@cheesygoat)

    @greencode It just remains the same. I press activate and it cannot activate.

    @cheesygoat Very strange. It worked for me. Hopefully @coderockz will get this issue resolved very soon.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cannot use the plugin’ is closed to new replies.