#8552 closed enhancement (duplicate)
Change notice text when wpnonce is missing
| Reported by: | mastermind | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.7 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
Each security-relevant request in the WP admin requires a "nonce" to be present, which is embedded into a form or attached to a URL. If the wpnonce is missing, WP asks, if the user really intends to perform the requested action. So far so good.
Now, I realize that in my test installation, the buttons "Yes" and "No" are missing. WP only asks "Are you sure you want to do this?".
Reproducable with a direct call to calling http://example.org/wp-admin/update-core.php?action=do-core-upgrade.
Tested with r78666.
Change History (6)
#2
@
18 years ago
- Milestone 2.7 → 2.8
- Severity major → minor
- Summary Confirmation dialogue (when wpnonce is missing) lacks buttons → Change notice text when wpnonce is missing
- Type defect → enhancement
#3
@
18 years ago
If this is so, then perhaps it should behave like in all the other situations (which explains why I couldn't reproduce it by deleting the _wpnonce from a URL): Simply say that the action has failed.
#4
@
17 years ago
- Milestone 2.8 → Future Release
Punting to be evaluated in next development cycle due to time constraints.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
You can't have the buttons because they're vulnerable to a CSRF attack (see here: #5838 ). Perhaps the text should be changed from "are you sure?" to something else.