From d80d1c2ffe6cdddc8a39fb8691bb7c6a014c9a72 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Tue, 28 Oct 2014 20:55:39 +0000 Subject: [PATCH] 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 --- src/wp-includes/ms-functions.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index e3ae911373..4ca2f097ed 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -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; +} \ No newline at end of file