Make WordPress Core


Ignore:
Timestamp:
10/11/2015 10:43:59 PM (10 years ago)
Author:
jeremyfelt
Message:

MS: Adjust _network_option() parameter order, $network_id is first.

This better aligns with expectations and matches the structure used by _blog_option(). The _site_option() functions remain as an appropriate method for working with the current network.

See #28290.

File:
1 edited

Legend:

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

    r35016 r35024  
    13441344    if ( ! is_subdomain_install() ) {
    13451345
    1346         if ( 'https' === parse_url( get_network_option( 'siteurl' ), PHP_URL_SCHEME ) ) {
     1346        if ( 'https' === parse_url( get_site_option( 'siteurl' ), PHP_URL_SCHEME ) ) {
    13471347            $siteurl = set_url_scheme( $siteurl, 'https' );
    13481348        }
Note: See TracChangeset for help on using the changeset viewer.