Make WordPress Core


Ignore:
Timestamp:
10/28/2014 08:55:39 PM (9 years ago)
Author:
jeremyfelt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r29806 r30071  
    24752475    return $site_results;
    24762476}
     2477
     2478/**
     2479 * Determine if the current network should be treated as a trusted network.
     2480 *
     2481 * @since 4.1.0
     2482 *
     2483 * @return bool False.
     2484 */
     2485function wp_is_trusted_network() {
     2486    return false;
     2487}
Note: See TracChangeset for help on using the changeset viewer.