From bc7ea63093929f4537143aaf12cc2270473d4458 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 8 Oct 2013 20:01:09 +0000 Subject: [PATCH] Inline documentation for hooks in wp-includes/ms-load.php. Props nukaga, johnbillion. Fixes #25509. Built from https://develop.svn.wordpress.org/trunk@25732 git-svn-id: http://core.svn.wordpress.org/trunk@25645 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-load.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/wp-includes/ms-load.php b/wp-includes/ms-load.php index 55659a2822..dc4beb1dbb 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;