[wp-trac] [WordPress Trac] #52513: Display version number in `update-core.php` Update button for beta/RC

WordPress Trac noreply at wordpress.org
Fri Feb 12 17:24:00 UTC 2021


#52513: Display version number in `update-core.php` Update button for beta/RC
-----------------------------+---------------------------------------
 Reporter:  afragen          |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  normal           |   Keywords:  has-patch has-screenshots
  Focuses:                   |
-----------------------------+---------------------------------------
 In #51774 we added the version numbers to the buttons for `Re-install`.
 When the user is updating to a nightly, beta, or RC the button always
 displays `Update to latest nightly`.

 I propose that we change this display `Update to latest nightly` only when
 the user is updating to nighties.

 If the user is updating to the latest beta or RC, given their settings in
 the `WP_AUTO_UPDATE_CORE` constant or their settings in the Beta Tester
 plugin, then we should display that version number in the button. This
 would look like `Update to version 5.7-beta3`

 This would provide better and more clear understanding of what the update
 will be.

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


More information about the wp-trac mailing list