[wp-trac] [WordPress Trac] #49340: Remove obsolete 'plugin_slugs' transient from WP_Plugins_List_Table::prepare_items()

WordPress Trac noreply at wordpress.org
Sat Feb 1 17:14:57 UTC 2020


#49340: Remove obsolete 'plugin_slugs' transient from
WP_Plugins_List_Table::prepare_items()
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  5.4
Component:  Plugins         |    Version:
 Severity:  normal          |   Keywords:  needs-patch good-first-bug
  Focuses:  administration  |
----------------------------+----------------------------------------
 [source:tags/5.3.2/src/wp-admin/includes/class-wp-plugins-list-
 table.php?marks=162#L144 WP_Plugins_List_Table::prepare_items()] sets the
 `plugin_slugs` transient.

 However, that transient is only used in the
 `wp_dashboard_plugins_output()` function, which is deprecated and unused
 since [40607] / #40702. It does not affect anything else.

 The function itself also sets the same transient, so it can be removed
 from `WP_Plugins_List_Table`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49340>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list