Make WordPress Core


Ignore:
Timestamp:
10/07/2015 05:11:01 PM (9 years ago)
Author:
jeremyfelt
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update-core.php

    r34778 r34912  
    11031103
    11041104    // Clear the option that blocks auto updates after failures, now that we've been successful.
    1105     if ( function_exists( 'delete_network_option' ) )
    1106         delete_network_option( 'auto_core_update_failed' );
     1105    if ( function_exists( 'delete_site_option' ) )
     1106        delete_site_option( 'auto_core_update_failed' );
    11071107
    11081108    return $wp_version;
Note: See TracChangeset for help on using the changeset viewer.