Support » Requests and Feedback » Solve slow WP response in cron.php

  • Whenever I upgrade to a newer release of WP, I experience slowness in WP when I am editing/saving posts. Anything that requires an answer from WP takes forever…. until I edit CRON.PHP

    I found it somewhere on this forum, and it works every time. I search in WP-INCLUDES/CRON.PHP for the line:

    $argyle = @ fsockopen( $parts[‘host’], $port, $errno, $errstr, 0.01 );

    and I replace it with:

    $argyle = @ fsockopen( $parts[‘scheme’].’://’.$parts[‘host’], $_SERVER[‘SERVER_PORT’], $errno, $errstr, 0.01 );

    and responses return to normal. Now this fix has been around for a while, and I was wondering: Why it is not implemented in the worked over CRON.PHP of the new WP versions? There might be a very good reason for that and maybe I am taking a chance here.

    Can anyone shed some light on this? Thanks in advance,


Viewing 1 replies (of 1 total)
  • baal666


    Did exactly this and got a blank screen on my site. Does not work at all for me.

Viewing 1 replies (of 1 total)
  • The topic ‘Solve slow WP response in cron.php’ is closed to new replies.