Skip to content

Silence wp_version_check() errors in Playground web #2452

@adamziel

Description

@adamziel

A by-product of preloading wp-admin requests is a series of log messages similar to this one:

[30-Jul-2025 13:30:47 UTC] PHP Warning:  wp_version_check(): An unexpected error occurred. Something may be wrong with [WordPress.org](http://wordpress.org/) or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/forums/">support forums</a>. (WordPress could not establish a secure connection to [WordPress.org](http://wordpress.org/). Please contact your server administrator.) in /wordpress/wp-includes/functions.php on line 135

Let's silence them at the pre-loading stage. They don't add anything useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions