Quantcast
Channel: Topic Tag: contact-form | WordPress.org
Viewing all articles
Browse latest Browse all 6012

brokenflipside on "[Plugin: Modal Dialog] Fix For Do Shortcode"

$
0
0

stripslashes(do_shortcode($options['dialogtext']));

You have the stripslashes in the wrong place, this is probably why contact form 7 doesn't work, I know it fixed my gravity forms shortcode problem.

do_shortcode(stripslashes($options['dialogtext']));

As well you are using wp_specialchars (which is deprecated) you should be using esc_html

Finally you should register your scripts before enqueuing them so it gives other developers a chance to deregister them, i.e. the fancy box script as this is called by many plugins and can cause conflicts. <-- this last one is my 2 cents. Thanks!

http://wordpress.org/plugins/modal-dialog/


Viewing all articles
Browse latest Browse all 6012

Latest Images

Trending Articles



Latest Images