[wp-trac] [WordPress Trac] #51892: Fix core_update_footer() for new Updates API

WordPress Trac noreply at wordpress.org
Thu Dec 3 14:04:47 UTC 2020


#51892: Fix core_update_footer() for new Updates API
---------------------------------------+-----------------------------
 Reporter:  afragen                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  5.6
Component:  Upgrade/Install            |     Version:  5.6
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49736" 49736]:
 {{{
 #!CommitTicketReference repository="" revision="49736"
 Upgrade/Install: Check `$wp_version` global for displaying "You are using
 a development version" message in the admin footer.

 This brings some consistency with the same check in
 `core_upgrade_preamble()` and avoids a PHP warning if `$cur->version` is
 not set.

 Additionally, remove the check for `$cur->url` property, unused since
 [8595].

 Follow-up to [49708], [49709].

 Props pbiron, afragen, audrasjb.
 Fixes #51892.
 }}}

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


More information about the wp-trac mailing list