Plugin Directory

Changeset 449925


Ignore:
Timestamp:
10/11/2011 04:36:16 PM (14 years ago)
Author:
solvemedia
Message:

Bug fix

Location:
solvemedia/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • solvemedia/trunk/puzzle_reload.js

    r291678 r449925  
    11// Copyright (c) 2010 SolveMedia Inc.
     2// $Id: puzzle_reload.js,v 1.5 2011/10/10 13:31:55 ilia Exp $
    23
    3 jQuery(document).ajaxSuccess(function()
     4// The puzzle needs to be reset after a CF7 form submission
     5// in case the user needs to submit the form again
     6jQuery(document).ajaxSuccess(function(evt, xhr, options)
     7{
     8    try
    49    {
    5         try
     10        // Check that the AJAX call involves Contact-Form-7
     11        // submission and a Solve Media puzzle
     12        if (options.data.match("_wpcf7_is_ajax_call=1") &&
     13            options.data.match("adcopy_response="))
    614        {
    715            ACPuzzle.reload();
    816        }
    9         catch(e) {}
    10     });
     17    }
     18    catch(e) {}
     19});
    1120
    12 
    13 
  • solvemedia/trunk/readme.txt

    r378793 r449925  
    33Tags: akismet, captcha, registration, contact form 7, advertising, anti-spam, plugin, solve media, spam, captcha advertising, security, monetize, type-in, security captcha, iPhone, iPad, Blackberry, Android, Windows Phone 7
    44Requires at least: 2.8.4
    5 Tested up to: 3.0.4
    6 Stable tag: 1.0.5
     5Tested up to: 3.2.1
     6Stable tag: 1.0.6
    77
    88Secure & Monetize your site with Solve Media's CAPTCHA replacement.
     
    4343== Changelog ==
    4444
     45= 1.0.6 =
     46* Bug fix - fixed a bug that caused the puzzle to reload if the Contact-Form-7 option was enabled and other plugins that use AJAX were present
     47
    4548= 1.0.5 =
    4649* Bug fix - fixed a bug that resulted from a style change in the default WordPress theme in version 3.0.1
     
    5053
    5154== Upgrade Notice ==
     55
     56= 1.0.6 =
     57This version fixes an issue that would cause the puzzle to reload when other plugins made AJAX calls.
    5258
    5359= 1.0.5 =
  • solvemedia/trunk/solvemedia.php

    r337468 r449925  
    11<?php
    22/*
    3 Plugin Name: SOLVEMEDIA
     3Plugin Name: Solve Media
    44Plugin URI: http://www.solvemedia.com/
    55Description: Integrates Solve Media's anti-spam solutions with wordpress
    6 Version: 1.0.5
     6Version: 1.0.6
    77Author: Ilia Fishbein
    88Email: support@solvemedia.com
     
    1212Copyright (c) 2010 by Solve Media
    1313
    14 $Id: solvemedia.php,v 1.3 2010/09/24 19:28:13 ilia Exp $
     14$Id: solvemedia.php,v 1.6 2011/10/07 16:06:16 ilia Exp $
    1515*/
    1616
Note: See TracChangeset for help on using the changeset viewer.