Support » Plugin: WP Job Manager » Application Email or URL Field

  • Resolved danmcvay

    (@danmcvay)


    https://prnt.sc/pi02zy

    In the latest update of Job Manager, this field was changed probably to ensure that it had valid URL or so forth but we were using this for a shortcode to open a form. It has been working great until the last update. I rolled back their live site to 1.32.0 and it works fine.

    Is there a more long-term fix like a filter I can put into the functions.php that you can point me to to allow us to allow the customer to continue using their shortcodes?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Giannis Karagiannis

    (@gikaragia)

    Hello,

    you can use the ‘job_manager_job_listing_data_fields’ filter to disable the sanitization of the specific field. Then do something like the following:

    
    unset($args['_application']['sanitize_callback']);
    

    You can of course define your own sanitization method too. Have a look here for more information.

    danmcvay

    (@danmcvay)

    Thank you again for your help, Giannis!

    @gikaragia – there is an enhancement request to allow the application field forced validation to be bypassed, is this what your code (above) allows? I’ve been hoping for a way to do this since the summer.

    Plugin Author Giannis Karagiannis

    (@gikaragia)

    Hey @hastibe this disables the sanitization of the email and the url which is different than the enhancement requrest. You could try out what I am suggesting to see if it fits your case.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Application Email or URL Field’ is closed to new replies.