• I have an example where a user clicks Submit on an HTML form. The user is logged in with a role of Member (equivalent to WordPress member) and the request is redirected to the default page. If I upgrade the user privileges to Editor (equivalent to WP editor), the request succeeds. I’ve instrumented the underlying code and it is not getting to the action, thus it is being blocked during the submit.

    I’ve also deactivated UltimateMember and the form works as expected. I don’t see how I would create this behavior even if I wanted to using UM settings.

    Suggestions or ideas appreciated.

    https://wordpress.org/plugins/ultimate-member/

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

    (@donoxley)

    I have now created a fresh install of WP, Theme 2016, with only UM loaded as a plugin. I’ve created 1 page containing an html form with a submit button and added a handler in my functions.php to process it (return <h1>Got there</h1>). I have one admin role synced to WP’s admin role. One editor role synced to WP’s editor role and One member role synced to WP’s subscriber role. I created one user for each role. For Admin and Editor level users – it processes the request as expected returning the H1 header. For the member level user, it redirects to the home page.

    I created one more role not synced to a WP role and created a user with that UM role and WP editor role – it too redirected to the home page. I then synced the new role to the WP editor role and it then worked.

    Net is that it seems pretty clear that UM is requiring roles have WP editor or above creds before it will process a simple form submit button. Can this possibly be right?

Viewing 1 replies (of 1 total)

The topic ‘User Submit Blocked’ is closed to new replies.