From 027d026077d49cbbd4334ebfd16dbc912922ec0e Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Tue, 28 Oct 2014 20:56:22 +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 Built from https://develop.svn.wordpress.org/trunk@30071 git-svn-id: http://core.svn.wordpress.org/trunk@30071 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 11 +++++++++++ wp-includes/version.php | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index e3ae911373..4ca2f097ed 100644 --- a/wp-includes/ms-functions.php +++ b/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 diff --git a/wp-includes/version.php b/wp-includes/version.php index fa11ca1484..60239e2a9a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.