• Resolved G.

    (@accentsduterroir)


    Hello,

    I updated the plugin today (v1.8.4 to v1.8.5.3), and now my website is broken. I suspect this is related to your recent changes concerning esc_attr and esc_html for XSS injection vulnerability compliance.

    However, my code is very straightforward and has been working perfectly until now. Here it is:

    function ninjaForm( $args = array(), $content = '' ) {    
        if ( is_singular() ) {
            $sendEmail = do_shortcode('[expand title="Send e-mail" trigclass="envoimail" swaptitle="Reduce" targpos="inline"][gd_ninja_forms form_id="5" text="Contact Form" post_contact="1" output="form"][/expand]');
            return $sendEmail;
        }
    }
    add_shortcode( 'ninjaForm', 'ninjaForm' );

    Could you please let me know what I should modify?
    Thank you in advance for your help.

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Broken site after v1.8.5.3 update’ is closed to new replies.