• 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,

    Carlo

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