#43970 closed defect (bug) (fixed)
Add request type to the confirmation confirmation page - GDPR
Reported by: | garrett-eclipse | Owned by: | desrosj |
---|---|---|---|
Milestone: | 4.9.6 | Priority: | normal |
Severity: | normal | Version: | 5.1 |
Component: | Privacy | Keywords: | gdpr has-patch commit |
Focuses: | administration | Cc: |
Description
Hello,
When you click the link to confirm either of the request actions the page is pretty well the same in both cases can they have the request type there so you know what you confirmed at a glance.
Screen coming.
Can probably be as simple as 'Remove Personal Data Confirmation Action has been confirmed'
Thanks
Attachments (4)
Change History (27)
This ticket was mentioned in Slack in #core by desrosj. View the logs.
6 years ago
#5
@
6 years ago
- Keywords has-patch commit added; needs-patch removed
In 43970.diff:
- Change the notice to read "Action confirmed: Action Name".
- Bolds "Action confirmed:"
This uses wp_user_request_action_description()
, which does have a default return value that would not make sense in this context, but that condition will never occur because of the in_array()
check using _wp_privacy_action_request_types()
(which will only return the core export and erase action names.
If _wp_privacy_action_request_types()
is made filterable in the future (or an alternative way to introduce privacy action request types is introduced), then the strings in wp_user_request_action_description()
may need to be adjusted.
This ticket was mentioned in Slack in #gdpr-compliance by allendav. View the logs.
6 years ago
This ticket was mentioned in Slack in #gdpr-compliance by desrosj. View the logs.
6 years ago
#8
@
6 years ago
Successful testing the action getting displayed in confirmation notice
[Image(https://monosnap.com/file/BN0zArjFlEedPbVYJX14LYqnX4DVjE)]
This ticket was mentioned in Slack in #core by desrosj. View the logs.
6 years ago
#10
@
6 years ago
- Keywords needs-refresh added; commit removed
- Owner set to desrosj
- Status changed from new to assigned
The text for this should be updated to reflect the new suggestions in #44029.
#12
@
6 years ago
- Keywords needs-testing added; needs-refresh removed
43970.2.diff has a small handful of improvements.
- Updates the confirmation notices to match the suggestions on #44029
- Move the
user_request_action_confirmed_message
filter into the_wp_privacy_account_request_confirmed_message()
function. The function was filtering the exact same text in thewp-login.php
file, so was somewhat superfluous. The filter should still exist, though. - Added an inline docblock for the
user_request_action_confirmed_message
filter. - Added missing parameter documentation in the
_wp_privacy_account_request_confirmed_message()
function.
@melchoyce I used the same green color that the admin uses for success messages. It seemed a big darker than in your mockup from #44029, though. Please check that you are ok with this color, or just send me a different hex value.
This ticket was mentioned in Slack in #gdpr-compliance by desrosj. View the logs.
6 years ago
#14
@
6 years ago
- Keywords needs-testing removed
Also, 43970.2.diff is dependent on #43973 landing.
#15
follow-up:
↓ 16
@
6 years ago
I used the same green color that the admin uses for success messages. It seemed a big darker than in your mockup from #44029, though. Please check that you are ok with this color, or just send me a different hex value.
@desrosj Can you post a screenshot?
#16
in reply to:
↑ 15
@
6 years ago
Replying to melchoyce:
I used the same green color that the admin uses for success messages. It seemed a big darker than in your mockup from #44029, though. Please check that you are ok with this color, or just send me a different hex value.
@desrosj Can you post a screenshot?
(FWIW — core patterns always come first. I'm sure what you're using is correct, I just want to be able to compare for my own reference.)
Action has been confirmed