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
This commit is contained in:
parent
fd652234c4
commit
b28cafc333
@ -52,13 +52,15 @@ function allow_subdomain_install() {
|
|||||||
*/
|
*/
|
||||||
function allow_subdirectory_install() {
|
function allow_subdirectory_install() {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
/**
|
|
||||||
* Filters whether to enable the subdirectory installation feature in Multisite.
|
/**
|
||||||
*
|
* Filters whether to enable the subdirectory installation feature in Multisite.
|
||||||
* @since 3.0.0
|
*
|
||||||
*
|
* @since 3.0.0
|
||||||
* @param bool $allow Whether to enable the subdirectory installation feature in Multisite. Default is false.
|
*
|
||||||
*/
|
* @param bool $allow Whether to enable the subdirectory installation feature in Multisite.
|
||||||
|
* Default false.
|
||||||
|
*/
|
||||||
if ( apply_filters( 'allow_subdirectory_install', false ) ) {
|
if ( apply_filters( 'allow_subdirectory_install', false ) ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -97,8 +99,9 @@ function get_clean_basedomain() {
|
|||||||
/**
|
/**
|
||||||
* Prints step 1 for Network installation process.
|
* 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
|
* @todo Realistically, step 1 should be a welcome screen explaining what a Network is and such.
|
||||||
* should not be a sudden "Welcome to a new install process! Fill this out and click here." See also contextual help todo.
|
* 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
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user