Forum Replies Created

Viewing 1 replies (of 1 total)
  • I recently installed version 2.6.3 and because of proxy server page loads in 20 seconds.

    Then modified the code in update.php to use proxy server as:

    Original Code: (update.php / line 49)
    if ( false !== ( $fs = @fsockopen( 'api.www.ads-software.com', 80, $errno, $errstr, 3 ) ) && is_resource($fs) ) {

    Changed Code:
    if ( false !== ( $fs = @fsockopen( '[proxy server name or IP]', [proxy server port], $errno, $errstr, 3 ) ) && is_resource($fs) ) {

    My proxy server don’t need authentication. If you need proxy server authentication, change your code as seen in this link.

    You can write a plugin but I didn’t do it before and I want to give a quick answer.

    If you want to write a plugin you must remove action “wp_version_check” from “init” and then write modified “wp_version_check” code in your plugin.

Viewing 1 replies (of 1 total)