#20907 closed enhancement (worksforme)
About screen text assumes user has update privileges
| Reported by: | johnbillion | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Help/About | Version: | 3.3 |
| Severity: | normal | Keywords: | needs-patch dev-feedback bulk-reopened |
| Cc: | Focuses: | administration |
Description
From the 'About' screen in WordPress:
Thank you for updating to the latest version!
But I didn't! I am just a lowly editor. My administrator probably updated the site for me.
We shouldn't show this sentence if the user doesn't have the update_core capability.
Attachments (1)
Change History (9)
#4
@
13 years ago
- Keywords needs-patch dev-feedback added; has-patch removed
@johnbillion: Thanks for the report. I'm sorry it took so long to get a response.
@leewillis77: Thanks for the patch. Looks like the hard-coded version number issue was fixed in 26737.
I can verify that this is still an issue in trunk. "Thank you for updating to WordPress 3.9, the most beautiful WordPress yet." displays for all users, not just users with the update_core capability.
There are 3 possible solutions:
- Create a generic version of the message that would be displayed to all users.
- Only show the message to users who have the
update_corecapability, and hide it from all other users. - Use the same approach as the update banner, and show one message to users with the
update_corecapability, and another message to all other users.
#5
@
11 years ago
- Focuses administration added
- Keywords needs-testing added
Issue in question needs to be re-verified.
#7
@
10 years ago
After taking 2 seconds longer to think about this, part of the problem is that this string changes with every release when the about page is redone. Since the about page is manually designed every release, this needs to be thought about every time. There's not a one time fix for this.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Rather than hide the sentence, can we just make it generic? The attached changes it to "Your site has been updated to WordPress %s! You might not notice a thing, and we’re okay with that." Note also the change from a hardcoded 3.7 to %s to pull through the version number automatically.