Plugin Directory

Changeset 527378


Ignore:
Timestamp:
04/04/2012 04:41:08 PM (14 years ago)
Author:
remix4
Message:

1.3.5

Location:
slick-contact-forms
Files:
33 added
4 edited

Legend:

Unmodified
Added
Removed
  • slick-contact-forms/trunk/dcwp_slick_contact.php

    r482070 r527378  
    66        Description: Create quick and easy floating or slide out contact forms with animated validation error messages.
    77        Author: Lee Chestnutt
    8         Version: 1.3.4
     8        Version: 1.3.5
    99        Author URI: http://www.designchemical.com/blog/
    10         Copyright 2011 Lee Chestnutt
     10        Copyright 2012 Lee Chestnutt
    1111*/
    1212
  • slick-contact-forms/trunk/inc/dcwp_admin.php

    r482070 r527378  
    659659               
    660660                $options = get_option('dcscf_options');
    661                 $ajaxSubmit = $options['redirect'] == 'ajax' ? 'true' : 'false' ;
     661                $ajaxSubmit = $options['redirect'] == 'ajax' || $options['redirect'] == '' ? 'true' : 'false' ;
    662662                $animate = 'true';
    663663               
  • slick-contact-forms/trunk/readme.txt

    r482070 r527378  
    44Tags: jquery, flyout, drop down, floating, sliding, contact forms, validation, animated, widget
    55Requires at least: 3.0
    6 Tested up to: 3.21
    7 Stable tag: 1.3.4
     6Tested up to: 3.3.1
     7Stable tag: 1.3.5
    88
    99Slick contact forms allows you quickly and easily create contact forms for any area on your Wordpress site using widgets
     
    133133== Changelog ==
    134134
     135= 1.3.5 =
     136* Edit: Edit slick_mail.php filter function name
     137
    135138= 1.3.4 =
    136139* Fixed: Bug with submit button class name
  • slick-contact-forms/trunk/slick_mail.php

    r463130 r527378  
    119119    global $redirect, $refSuccess, $refError;
    120120    // filter
    121     $name = filter($name);
    122     $subject =  filter($subject);
     121    $name = dc_filter($name);
     122    $subject =  dc_filter($subject);
    123123    $url = dc_jqslickcontact_widget::get_dcscf_default('include_url') ? "Origin Page: ".$_SERVER['HTTP_REFERER'] : "";
    124124    $ip = dc_jqslickcontact_widget::get_dcscf_default('include_ip') ? "IP Address: ".$_SERVER["REMOTE_ADDR"] : "";
     
    134134   
    135135        $emailTo .= $i > 0 ? ',' : '' ;
    136         $emailTo .= filter($email);
     136        $emailTo .= dc_filter($email);
    137137       
    138138        // Validate return email & inform admin
     
    150150    // Validate reply to email
    151151    if($replyTo != ''){
    152         $replyTo = filter($replyTo);
     152        $replyTo = dc_filter($replyTo);
    153153        if (!validateSlickEmail($replyTo)) {
    154154            $replyTo = '';
     
    192192
    193193// Remove any un-safe values to prevent email injection
    194 function filter($value) {
     194function dc_filter($value) {
    195195    $pattern = array("/\n/", "/\r/", "/content-type:/i", "/to:/i", "/from:/i", "/cc:/i");
    196196    $value = preg_replace($pattern, "", $value);
Note: See TracChangeset for help on using the changeset viewer.