WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2015 07:07:23 PM (5 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/options-writing.php

    r34096 r34778  
    5757
    5858<table class="form-table">
    59 <?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?>
     59<?php if ( get_network_option( 'initial_db_version' ) < 32453 ) : ?>
    6060<tr>
    6161<th scope="row"><?php _e('Formatting') ?></th>
Note: See TracChangeset for help on using the changeset viewer.