#51774 closed enhancement (fixed)
Display version number in update-core.php `Re-install Now` button
Reported by: | afragen | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch has-screenshots commit |
Focuses: | Cc: |
Description
Currently in the update-core.php
page the Re-install Now
button only presents the information about which version is being re-installed in the text above the button.
Placing the version inside the button would make this more clear and might allow for the removal of the description string.
Attachments (16)
Change History (36)
This ticket was mentioned in Slack in #core-auto-updates by afragen. View the logs.
4 years ago
This ticket was mentioned in Slack in #core-auto-updates by pbiron. View the logs.
4 years ago
This ticket was mentioned in Slack in #core-auto-updates by afragen. View the logs.
4 years ago
This ticket was mentioned in Slack in #core-auto-updates by audrasjb. View the logs.
4 years ago
This ticket was mentioned in Slack in #core-auto-updates by pbiron. View the logs.
4 years ago
This ticket was mentioned in Slack in #core by afragen. View the logs.
4 years ago
This ticket was mentioned in Slack in #core-auto-updates by afragen. View the logs.
4 years ago
#17
@
4 years ago
This looks good, my only concern here is that if we switch these buttons to sentence case, they don't match the rest of the capitalized buttons on the screen still using Title Case: "Update Plugins", "Update Themes", "Update Translations". Would someone be up for creating a ticket to update those buttons for consistency? Otherwise, that can be included in a general ticket: #49616.
There are also similar buttons on plugin installation screens: "Install Now", "Cannot Install", "Update Now", "Cannot Update", "Install Update Now" that should probably be converted to sentence case too in a future release.
There is one more reference to "Update Now" in Site Health that show be "Update now" after this change, I can adjust that on commit.
This ticket was mentioned in Slack in #core by pbiron. View the logs.
4 years ago
This ticket was mentioned in PR #998 on WordPress/wordpress-develop by afragen.
4 years ago
#20
In #51774 we added the version number to the 'Re-install' button on update-core.php.
I propose we add the version number to the 'Update' button when the user is set to update to the next beta/RC whether they are using the WP_AUTO_UPDATE_CORE
constant or the Beta Tester plugin.
The patch identifies the $update->current
as a beta
or rc
offer by prep_match
for 2 hyphens in the version number. 2 hyphens indicate a nightly, where a single hyphen indicates a beta or RC offer.
Trac ticket: https://core.trac.wordpress.org/ticket/52513
Whoopsie reverting....