mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
Revert [34778], continue using _site_option() for the current network.
The `_network_option()` parameter order will be changing to accept `$network_id` first. The `_site_option()` functions will remain in use throughout core as our way of retrieving a network option for the current network. See #28290. git-svn-id: https://develop.svn.wordpress.org/trunk@34912 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -23,7 +23,7 @@ function ms_upload_constants() {
|
||||
// This filter is attached in ms-default-filters.php but that file is not included during SHORTINIT.
|
||||
add_filter( 'default_site_option_ms_files_rewriting', '__return_true' );
|
||||
|
||||
if ( ! get_network_option( 'ms_files_rewriting' ) )
|
||||
if ( ! get_site_option( 'ms_files_rewriting' ) )
|
||||
return;
|
||||
|
||||
// Base uploads dir relative to ABSPATH
|
||||
|
||||
Reference in New Issue
Block a user