From 8163215dc41bc6e1fe16b701c0fdabc7936eed38 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 2 Feb 2020 15:50:04 +0000 Subject: [PATCH] Plugins: Remove obsolete `plugin_slugs` transient from `WP_Plugins_List_Table::prepare_items()`. The transient is only used in the `wp_dashboard_plugins_output()` function, which is deprecated and unused since [40607]. The function itself also sets the same transient, so it can be removed from `WP_Plugins_List_Table`. Props aftabmuni. Fixes #49340. Built from https://develop.svn.wordpress.org/trunk@47167 git-svn-id: http://core.svn.wordpress.org/trunk@46967 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugins-list-table.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php index b92d1c53d9..3ec88eb7c2 100644 --- a/wp-admin/includes/class-wp-plugins-list-table.php +++ b/wp-admin/includes/class-wp-plugins-list-table.php @@ -159,8 +159,6 @@ class WP_Plugins_List_Table extends WP_List_Table { $show_network_active = apply_filters( 'show_network_active_plugins', $show ); } - set_transient( 'plugin_slugs', array_keys( $plugins['all'] ), DAY_IN_SECONDS ); - if ( $screen->in_admin( 'network' ) ) { $recently_activated = get_site_option( 'recently_activated', array() ); } else { diff --git a/wp-includes/version.php b/wp-includes/version.php index d6fd031aa9..11232a1155 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47166'; +$wp_version = '5.4-alpha-47167'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.