Changeset 58975 for trunk/src/wp-admin/plugins.php
- Timestamp:
- 09/03/2024 06:17:19 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugins.php
r58879 r58975 72 72 $recent = (array) get_option( 'recently_activated' ); 73 73 unset( $recent[ $plugin ] ); 74 update_option( 'recently_activated', $recent );74 update_option( 'recently_activated', $recent, false ); 75 75 } else { 76 76 $recent = (array) get_site_option( 'recently_activated' ); … … 137 137 138 138 if ( ! is_network_admin() ) { 139 update_option( 'recently_activated', $recent );139 update_option( 'recently_activated', $recent, false ); 140 140 } else { 141 141 update_site_option( 'recently_activated', $recent ); … … 212 212 213 213 if ( ! is_network_admin() ) { 214 update_option( 'recently_activated', array( $plugin => time() ) + (array) get_option( 'recently_activated' ) );214 update_option( 'recently_activated', array( $plugin => time() ) + (array) get_option( 'recently_activated' ), false ); 215 215 } else { 216 216 update_site_option( 'recently_activated', array( $plugin => time() ) + (array) get_site_option( 'recently_activated' ) ); … … 259 259 260 260 if ( ! is_network_admin() ) { 261 update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ) );261 update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ), false ); 262 262 } else { 263 263 update_site_option( 'recently_activated', $deactivated + (array) get_site_option( 'recently_activated' ) ); … … 437 437 case 'clear-recent-list': 438 438 if ( ! is_network_admin() ) { 439 update_option( 'recently_activated', array() );439 update_option( 'recently_activated', array(), false ); 440 440 } else { 441 441 update_site_option( 'recently_activated', array() );
Note: See TracChangeset
for help on using the changeset viewer.