• Resolved contemplate

    (@contemplate)


    I discovered a glitch in the fep_shortcode_new_message_form shortcode when using the TO variable to set a specific user id. I always got an invalid recipient message.

    I tracked down the bug and have fixed it.
    edit file: includes/class-fep-form.php
    line 451

    change this:
    $to = $_POST['message_to_id'] = fep_get_userdata( $preTo ); //return ID;

    to this:
    $to = $_POST['message_to_id'] = fep_get_userdata( $preTo, 'ID', 'id' ); //return ID;

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘fep_shortcode_new_message_form TO input glitch’ is closed to new replies.