• Resolved E.Pipo

    (@epipo)


    Hi,

    I’ve added the “Personal data” extension but it doesn’t seem to work properly. When the user asks for an export of its data, the email is correctly sent but when he clicks on the link, it displays the login page with the following message:

    You are connected as Username. View Profil | Account settings | Logout

    When I check in the wordpress admin, the export is still pending.

    Can you help?

    Thanks!

    • This topic was modified 5 months ago by  E.Pipo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alessandro Tesoro

    (@alessandrotesoro)

    Hi there,

    What kind of link you receive? The functionality is entirely powered by WordPress itself, it’s not custom built by WPUM.

    The user should get an email asking to confirm the request, once confirmed, the admin gets an email and can send the data to the user via Tools -> Export personal data, so essentially, the first email the user receives is only to confirm the export, nothing else happens by clicking that link.

    After the admin sends the export, the user will receive a zip file with all the data belonging to him.

    E.Pipo

    (@epipo)

    Hi Alessandro,

    Ok, so I’ve digged deeper into this WordPress function.

    So, to make it easier for user to understand what’s going on the only thing missing is the confirmation message that appears when user click the confirmation link sent by WordPress (View image). Right now the user gets redirected to the custom WPUM login page but the message does not reflect the action (it’s the default message that you can find in my question). Is there a way to filter this message?

    Thanks!

    Plugin Author Alessandro Tesoro

    (@alessandrotesoro)

    Yes there’s a filter within WordPress’s core that allows you to do that, see here https://github.com/WordPress/WordPress/blob/7ee752e40cf47feb2591711efb8074217b6961f2/wp-includes/user.php#L3267

    It’s called

    user_request_action_confirmed_message

    Although I think it’ll be better if I manage to add some redirect to the frontend of your site and show the confirmation there.

    E.Pipo

    (@epipo)

    Sorry for being so long to answer, I had a chance to test this filter and it is perfect. Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.