Broken site after v1.8.5.3 update

[ad_1]

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer