[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 20:10:02 UTC 2021


#52513: Display version number in `update-core.php` Update button for beta/RC
---------------------------------------+------------------------------
 Reporter:  afragen                    |       Owner:  afragen
     Type:  enhancement                |      Status:  assigned
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Upgrade/Install            |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+------------------------------
Description changed by afragen:

Old description:

> 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.

New description:

 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`

 It will also display the version in the next release, `Update to version
 5.7`

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

--

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


More information about the wp-trac mailing list