Changeset 34912 for trunk/src/wp-admin/plugins.php
- Timestamp:
- 10/07/2015 05:11:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugins.php
r34891 r34912 56 56 update_option( 'recently_activated', $recent ); 57 57 } else { 58 $recent = (array) get_ network_option( 'recently_activated' );58 $recent = (array) get_site_option( 'recently_activated' ); 59 59 unset( $recent[ $plugin ] ); 60 update_ network_option( 'recently_activated', $recent );60 update_site_option( 'recently_activated', $recent ); 61 61 } 62 62 … … 102 102 $recent = (array) get_option('recently_activated' ); 103 103 } else { 104 $recent = (array) get_ network_option('recently_activated' );104 $recent = (array) get_site_option('recently_activated' ); 105 105 } 106 106 … … 112 112 update_option( 'recently_activated', $recent ); 113 113 } else { 114 update_ network_option( 'recently_activated', $recent );114 update_site_option( 'recently_activated', $recent ); 115 115 } 116 116 … … 183 183 update_option( 'recently_activated', array( $plugin => time() ) + (array) get_option( 'recently_activated' ) ); 184 184 } else { 185 update_ network_option( 'recently_activated', array( $plugin => time() ) + (array) get_network_option( 'recently_activated' ) );185 update_site_option( 'recently_activated', array( $plugin => time() ) + (array) get_site_option( 'recently_activated' ) ); 186 186 } 187 187 … … 221 221 update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ) ); 222 222 } else { 223 update_ network_option( 'recently_activated', $deactivated + (array) get_network_option( 'recently_activated' ) );223 update_site_option( 'recently_activated', $deactivated + (array) get_site_option( 'recently_activated' ) ); 224 224 } 225 225 … … 383 383 update_option( 'recently_activated', array() ); 384 384 } else { 385 update_ network_option( 'recently_activated', array() );385 update_site_option( 'recently_activated', array() ); 386 386 } 387 387 break;
Note: See TracChangeset
for help on using the changeset viewer.