From b28cafc333cfa6df56cf786a11a96b8fb77211d4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 20 Jun 2020 12:21:30 +0000 Subject: [PATCH] Docs: Correct DocBlock placement for `allow_subdirectory_install` filter. See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48108 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/network.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/wp-admin/includes/network.php b/src/wp-admin/includes/network.php index f15aadd542..7fba97bcf2 100644 --- a/src/wp-admin/includes/network.php +++ b/src/wp-admin/includes/network.php @@ -52,13 +52,15 @@ function allow_subdomain_install() { */ function allow_subdirectory_install() { global $wpdb; - /** - * Filters whether to enable the subdirectory installation feature in Multisite. - * - * @since 3.0.0 - * - * @param bool $allow Whether to enable the subdirectory installation feature in Multisite. Default is false. - */ + + /** + * Filters whether to enable the subdirectory installation feature in Multisite. + * + * @since 3.0.0 + * + * @param bool $allow Whether to enable the subdirectory installation feature in Multisite. + * Default false. + */ if ( apply_filters( 'allow_subdirectory_install', false ) ) { return true; } @@ -97,8 +99,9 @@ function get_clean_basedomain() { /** * Prints step 1 for Network installation process. * - * @todo Realistically, step 1 should be a welcome screen explaining what a Network is and such. Navigating to Tools > Network - * should not be a sudden "Welcome to a new install process! Fill this out and click here." See also contextual help todo. + * @todo Realistically, step 1 should be a welcome screen explaining what a Network is and such. + * Navigating to Tools > Network should not be a sudden "Welcome to a new install process! + * Fill this out and click here." See also contextual help todo. * * @since 3.0.0 *