• Resolved dancingpony

    (@dancingpony)


    I’ve created a form to add and update extra profile fields for a user.

    I want them to be able to update the information from their profile page.

    When I try and submit the form however, I get the ‘Are you sure you want to do this?’ message.

    I have added a nonce field to the form, but still no luck.

    Is there anything else I need to do to make the form submit-able? It works on a normal ‘Page’, only has an issue on the themed profile page.

    Thanks in advance.

    https://www.ads-software.com/plugins/theme-my-login/

Viewing 1 replies (of 1 total)
  • Thread Starter dancingpony

    (@dancingpony)

    Looks like the nonce field I had to use was:

    <?php wp_nonce_field( 'update-user_' . $current_user->ID ); ?>

    This was from the profile-form.php file, must be checking for that nonce in particular when the page reloads with a POST request.

Viewing 1 replies (of 1 total)
  • The topic ‘Form won't submit on Profile page’ is closed to new replies.