WordPress.org

Support

Support » How-To and Troubleshooting » Ajax Comments Stopped Working

Ajax Comments Stopped Working

  • I have a weird one. On my site http://macrostory.com I installed spectacu.la comments about 8 months ago. And the ajax comments have been working awesome. All of a sudden today it stopped working. When I post a comment rather than the page staying static and the comment being added, I get an entire page refresh. And if I reply to a comment I get a new browser open.

    What’s odd is I changed nothing today. No change to WordPress, no change to this plug in or any other plug in. It just stopped working. Any idea what could be the cause?

    Thank You!

Viewing 1 replies (of 1 total)
  • Doing a little research a new version of JQuery was released today and my plugin calls for the most recent version. Problem is I don’t know how to specify the prior version. It looks like I need to change that here, but not sure how.

    // Make sure we have jQuery version 1.3.2 or better
    				if ( isset( $wp_scripts->registered[ 'jquery' ]->ver ) && version_compare( $wp_scripts->registered[ 'jquery' ]->ver, '1.3.2', '<' ) ){
    					wp_deregister_script( 'jquery' );
    					wp_register_script( 'jquery', SPEC_COMMENT_URL . "/js/jquery.js", array( ), '1.3.2', true );
    				}
Viewing 1 replies (of 1 total)
  • The topic ‘Ajax Comments Stopped Working’ is closed to new replies.