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

WordPress Trac noreply at wordpress.org
Thu Jan 10 19:14:00 UTC 2019


#45918: Unused variable in src/wp-includes/update.php
-----------------------------+----------------------
 Reporter:  imath            |       Owner:  (none)
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  minor            |  Resolution:  invalid
 Keywords:  has-patch        |     Focuses:
-----------------------------+----------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 There's a `compact()` call later down that uses the variable:

 {{{
 $to_send = compact( 'plugins', 'active' );
 }}}

 Not obvious at first sight and not so ideal, but it is what it is :-)

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


More information about the wp-trac mailing list