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


git-svn-id: https://develop.svn.wordpress.org/trunk@30071 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt 2014-10-28 20:55:39 +00:00
parent 7ca2e674cd
commit d80d1c2ffe
1 changed files with 11 additions and 0 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;
}