[wp-trac] [WordPress Trac] #25887: $comparison is unused in maintenance_nag()

WordPress Trac noreply at wordpress.org
Sat Nov 9 01:51:15 UTC 2013


#25887: $comparison is unused in maintenance_nag()
-----------------------------+-----------------------
 Reporter:  SergeyBiryukov   |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  3.7.2
Component:  Upgrade/Install  |    Version:  3.7
 Severity:  normal           |   Keywords:  has-patch
-----------------------------+-----------------------
 Noticed while working on #14028.

 There's a line in `maintenance_nag()` that is supposed to change the
 comparison type in `version_compare()` in the next line (see the comment
 above): [source:tags/3.7.1/src/wp-admin/includes/update.php#L356].

 However, `$comparison` is unused, so it doesn't actually change anything.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25887>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list