Plugin Directory

Changeset 582582


Ignore:
Timestamp:
08/07/2012 09:37:34 AM (14 years ago)
Author:
tailoredweb
Message:
 
Location:
tailored-tools
Files:
24 added
3 edited

Legend:

Unmodified
Added
Removed
  • tailored-tools/trunk/lib/class.forms.php

    r580209 r582582  
    202202       
    203203        // Prepare email headers - how do we know which?
    204         $headers = apply_filters('ttools_form_filter_email_headers', false, &$this);
     204        $headers = apply_filters('ttools_form_filter_email_headers', false, $this);
    205205        if (!empty($this->opts['email']['bcc']))    $headers[] = 'BCC: '.$this->opts['email']['bcc'];
    206206       
     
    228228        // Fields to ignore
    229229        $ignore_fields = array( $this->submit_key, 'recaptcha_challenge_field', 'recaptcha_response_field' );
    230         $ignore_fields = apply_filters('ttools_form_filter_validate', $ignore_fields, &$this);
     230        $ignore_fields = apply_filters('ttools_form_filter_validate', $ignore_fields, $this);
    231231        // Prepare data from $_POST
    232232        $formdata = array();
     
    322322        $enctype = (!$this->form_enctype) ? '' : ' enctype="'.$this->form_enctype.'"';
    323323        // Draw form
    324         do_action('ttools_form_before_form', &$this);
     324        do_action('ttools_form_before_form', $this);
    325325        echo '<form action="'.$this->form_action.'" method="post" class="tws '.$this->form_class.'"'.$enctype.'>'."\n";
    326         do_action('ttools_form_before_questions', &$this);
     326        do_action('ttools_form_before_questions', $this);
    327327        foreach ($this->questions as $key => $q) {
    328328           
     
    334334            $this->draw_element($key, $q);
    335335        }
    336         do_action('ttools_form_before_submit_button', &$this);
     336        do_action('ttools_form_before_submit_button', $this);
    337337        // Submit button
    338338        echo '<input type="hidden" name="'.$this->submit_key.'" value="" />'."\n";
    339339        echo '<p class="submit"><input type="submit" name="'.$this->submit_key.'" value="'.$this->submit_label.'" /></p>'."\n";
    340         do_action('ttools_form_after_submit_button', &$this);
     340        do_action('ttools_form_after_submit_button', $this);
    341341        echo '</form>'."\n";
    342         do_action('ttools_form_after_form', &$this);
     342        do_action('ttools_form_after_form', $this);
    343343    }
    344344   
  • tailored-tools/trunk/readme.txt

    r580209 r582582  
    44Requires at least:  3.0
    55Tested up to:       3.4.1
    6 Stable tag:         1.3.5
     6Stable tag:         1.3.6
    77
    88Contains some helper classes to help you build custom forms.
     
    5151== Changelog ==
    5252
     53= 1.3.6 =
     54* Fix a PHP depreciation issue
     55
    5356= 1.3.5 =
    5457* Fix issue with ui_tabs - JS and shortcode
  • tailored-tools/trunk/tools.php

    r580209 r582582  
    33Plugin Name:    Tailored Tools
    44Description:    Adds some functionality to WordPress that you'll need.
    5 Version:        1.3.5
     5Version:        1.3.6
    66Author:         Tailored Web Services
    77Author URI:     http://www.tailored.com.au
Note: See TracChangeset for help on using the changeset viewer.