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

WordPress Trac noreply at wordpress.org
Thu Dec 3 20:21:30 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 commit     |     Focuses:
  dev-reviewed                                   |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"49743" 49743]:
 {{{
 #!CommitTicketReference repository="" revision="49743"
 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.
 Reviewed by azaozz, SergeyBiryukov.
 Merges [49736] to the 5.6 branch.
 Fixes #51892.
 }}}

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


More information about the wp-trac mailing list