Support » Plugins » WP User Frontend -> wpuf_add_post_validation

  • Greetings,

    So I’ve been asked to fix a hack on the WP User Frontend plugin. The plugin has been customized to meet the client’s request, but unfortunately it has also been hacked by some code that can auto submit the form, bypassing the weak Javascript validation that was in place.

    I’m trying to implement so stronger servers side validation, but cannot locate this function, or at least, I’m assuming that it should be a function called ‘wpuf_add_post_validation’ which is actually passed on line 387 of the wpuf-add-post.php file. It looks like this:

    $errors = apply_filters( 'wpuf_add_post_validation', $errors );

    I’m assuming this is what is handling the validation, but I can’t really tell what exactly is being done here.

    Any help would be appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WP User Frontend -> wpuf_add_post_validation’ is closed to new replies.