Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:21:30 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct DocBlock placement for allow_subdirectory_install filter.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/network.php

    r48059 r48108  
    5353function allow_subdirectory_install() {
    5454        global $wpdb;
    55                 /**
    56                  * Filters whether to enable the subdirectory installation feature in Multisite.
    57                  *
    58                  * @since 3.0.0
    59                  *
    60                  * @param bool $allow Whether to enable the subdirectory installation feature in Multisite. Default is false.
    61                  */
     55
     56        /**
     57         * Filters whether to enable the subdirectory installation feature in Multisite.
     58         *
     59         * @since 3.0.0
     60         *
     61         * @param bool $allow Whether to enable the subdirectory installation feature in Multisite.
     62         *                    Default false.
     63         */
    6264        if ( apply_filters( 'allow_subdirectory_install', false ) ) {
    6365                return true;
    … …  
    98100 * Prints step 1 for Network installation process.
    99101 *
    100  * @todo Realistically, step 1 should be a welcome screen explaining what a Network is and such. Navigating to Tools > Network
    101  *  should not be a sudden "Welcome to a new install process! Fill this out and click here." See also contextual help todo.
     102 * @todo Realistically, step 1 should be a welcome screen explaining what a Network is and such.
     103 *       Navigating to Tools > Network should not be a sudden "Welcome to a new install process!
     104 *       Fill this out and click here." See also contextual help todo.
    102105 *
    103106 * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.