[wp-trac] [WordPress Trac] #45918: Unused variable in src/wp-includes/update.php

WordPress Trac noreply at wordpress.org
Thu Jan 10 18:57:23 UTC 2019


#45918: Unused variable in src/wp-includes/update.php
-----------------------------+-----------------------------
 Reporter:  imath            |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  minor            |   Keywords:  has-patch
  Focuses:                   |
-----------------------------+-----------------------------
 In `wp_update_plugins()` $active is getting the active plugins but nowhere
 in the function this variable is used.

 I suggest to simply remove the line.

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


More information about the wp-trac mailing list