From b5a5df8a40dcc5990717d346956d8df40a891f28 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 7 Oct 2013 23:43:10 +0000 Subject: [PATCH] Inline documentation for hooks in wp-admin/network.php. Props johnafish. Fixes #25502. Built from https://develop.svn.wordpress.org/trunk@25722 git-svn-id: http://core.svn.wordpress.org/trunk@25635 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/network.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wp-admin/network.php b/wp-admin/network.php index cdef7f4067..9ba4d463fe 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -58,13 +58,20 @@ function allow_subdomain_install() { return true; } /** - * Allow subdirectory install + * Allow subdirectory install. * * @since 3.0.0 * @return bool Whether subdirectory install is allowed */ function allow_subdirectory_install() { global $wpdb; + /** + * Filter whether to enable the subdirectory install feature in Multisite. + * + * @since 3.0.0 + * + * @param bool true Whether to enable the subdirectory install feature in Multisite. Default is false. + */ if ( apply_filters( 'allow_subdirectory_install', false ) ) return true;