Speed up your local installation by disabling the connection to wordpress.org’s server.
add_filter( 'pre_http_request', '__return_true', 100 );
Add this PHP code to a must use plugin or your child themes functions file.
Now you’ll stop seeing this error message and others like it which can cause your local installation to take more than 20 – 3 seconds to load pages :
A error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /app/public/wp-includes/update.php on line 347
Was This Tutorial Helpful?