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/class-wp-network.php

    r34819 r35024  
    146146
    147147        $default = ucfirst( $this->domain );
    148         $this->site_name = get_network_option( 'site_name', $default, $this->id );
     148        $this->site_name = get_network_option( $this->id, 'site_name', $default );
    149149    }
    150150
Note: See TracChangeset for help on using the changeset viewer.