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:
parent
7ca2e674cd
commit
d80d1c2ffe
@ -2474,3 +2474,14 @@ function wp_get_sites( $args = array() ) {
|
|||||||
|
|
||||||
return $site_results;
|
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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user