plugin updates
This commit is contained in:
@@ -194,7 +194,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
if ( $screen->in_admin( 'network' ) ) {
|
||||
update_site_option( 'recently_activated', $recently_activated );
|
||||
} else {
|
||||
update_option( 'recently_activated', $recently_activated );
|
||||
update_option( 'recently_activated', $recently_activated, false );
|
||||
}
|
||||
|
||||
$plugin_info = get_site_transient( 'update_plugins' );
|
||||
@@ -694,6 +694,10 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates the list table rows.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global string $status
|
||||
*/
|
||||
public function display_rows() {
|
||||
@@ -1594,7 +1598,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
printf(
|
||||
'<div class="requires"><p>%1$s</p><p>%2$s</p></div>',
|
||||
'<div class="requires"><p>%1$s</p>%2$s</div>',
|
||||
$requires,
|
||||
$notice
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user