• Resolved databell96

    (@databell96)


    After doing some WP updates, I logged out and then this error came up.

    Notice: wpcf7_add_shortcode is deprecated since Contact Form 7 version 4.6! Use wpcf7_add_form_tag instead. in /home/whartever/public_html/kindspaevents.com/wp-content/plugins/contact-form-7/includes/functions.php on line 355

    Which I guess relates to this:

    function wpcf7_deprecated_function( $function, $version, $replacement ) {
    	$trigger_error = apply_filters( 'deprecated_function_trigger_error', true );
    
    	if ( WP_DEBUG && $trigger_error ) {
    		if ( function_exists( '__' ) ) {
    			trigger_error( sprintf( __( '%1$s is <strong>deprecated</strong> since Contact Form 7 version %2$s! Use %3$s instead.', 'contact-form-7' ), $function, $version, $replacement ) );
    		} else {
    			trigger_error( sprintf( '%1$s is <strong>deprecated</strong> since Contact Form 7 version %2$s! Use %3$s instead.', $function, $version, $replacement ) );
    		}
    	}
    }
    

    That’s very unusual. Any idea why I would receive this?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter databell96

    (@databell96)

    Should mention this error only comes up in the wp-admin. The site itself is fine.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter databell96

    (@databell96)

    Hmmmm…..I’m not really using WPCF_Shortcode. Only shortcode I’m using is

    [contact-form-7 id=”545″ title=”Application”]

    So why would I receive that error?

    I didn’t see this in my Dashboard, however when I was debugging something else, I noticed this as well. I do not use this in any custom code that I am aware of, should I be concerned, or will this cause any load time issues on my site?

    Notice: wpcf7_add_shortcode is deprecated since Contact Form 7 version 4.6! Use wpcf7_add_form_tag instead. in /nfs/c08/h02/mnt/122702/domains/myfedbenefitshelp.com/html/wp-content/plugins/contact-form-7/includes/functions.php on line 355

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

The topic ‘Add Shortcode Deprecated Error’ is closed to new replies.