X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/a6f44f0edcda2471c5a33e4156c1c9488c7f3210..fa11948979fd6a4ea5705dc613b239699a459db3:/wp-includes/ms-load.php diff --git a/wp-includes/ms-load.php b/wp-includes/ms-load.php index 55659a28..a8f3f378 100644 --- a/wp-includes/ms-load.php +++ b/wp-includes/ms-load.php @@ -73,8 +73,14 @@ function ms_site_check() { $blog = get_blog_details(); - // Allow short-circuiting - $check = apply_filters('ms_site_check', null); + /** + * Filter checking the status of the current blog. + * + * @since 1.2.1 + * + * @param bool null Whether to skip the blog status check. Default null. + */ + $check = apply_filters( 'ms_site_check', null ); if ( null !== $check ) return true;