Introduce wp_is_trusted_network()

A first step to establish concepts around trusted and untrusted networks.

* Will always return false as default.
* Will one day have a filter.

Fixes #30145

Built from https://develop.svn.wordpress.org/trunk@30071


git-svn-id: http://core.svn.wordpress.org/trunk@30071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jeremy Felt 2014-10-28 20:56:22 +00:00
parent 980adcadab
commit 027d026077
2 changed files with 12 additions and 1 deletions

View File

@ -2474,3 +2474,14 @@ function wp_get_sites( $args = array() ) {
return $site_results;
}
/**
* Determine if the current network should be treated as a trusted network.
*
* @since 4.1.0
*
* @return bool False.
*/
function wp_is_trusted_network() {
return false;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30070';
$wp_version = '4.1-alpha-30071';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.