Make WordPress Core


Ignore:
Timestamp:
10/02/2015 07:07:23 PM (10 years ago)
Author:
jeremyfelt
Message:

MS: Use *_network_option() functions throughout core.

Replaces all uses of *_site_option() with the corresponding "network" function.

This excludes one usage in wp-admin/admin-footer.php that needs more investigation.

Props spacedmonkey.
See #28290.

File:
1 edited

Legend:

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

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