From 0db187f915465c42bde67ee739ebaca68f6b0d3c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 8 Oct 2013 20:00:17 +0000 Subject: [PATCH] Inline documentation for hooks in wp-includes/ms-load.php. Props nukaga, johnbillion. Fixes #25509. git-svn-id: https://develop.svn.wordpress.org/trunk@25732 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-load.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/ms-load.php b/src/wp-includes/ms-load.php index 55659a2822..dc4beb1dbb 100644 --- a/src/wp-includes/ms-load.php +++ b/src/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;