Plugin Directory

Changeset 920715


Ignore:
Timestamp:
05/25/2014 01:57:13 PM (12 years ago)
Author:
lynton_reed
Message:

updating for release 2.1.1

Location:
work-the-flow-file-upload/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • work-the-flow-file-upload/trunk/README.txt

    r920619 r920715  
    55Requires at least: 3.5.1
    66Tested up to: 3.9.1
    7 Stable tag: 2.1.0
     7Stable tag: 2.1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    289289Go to http://wtf-fu.com where this product is maintained, and try out the live demo.
    290290
    291 = What do get with the PRO extension that is not in the free one ? =
    292 
    293 The PRO extension added additional features on top of the core features including :
     291= What do I get with the PRO extension that is not in the free one ? =
     292
     293When installed, the PRO extension activates these additional features in the plugin :
    294294 
    295295* Ability to edit and manage workflow and email templates to create your own layouts.
    296296* Ability to attach automated email templates to workflow stages to automatically send emails when a user passes through a workflow stage.
    297297* [wtf_eval] psuedo short code for embedding php code into workflow content.
     298* Ability to save, export and import workflows and move them between sites.
    298299* 12 months priority support and automated product updates.
    299300
     
    323324
    324325== Changelog ==
     326= 2.1.1 =
     327* Fix issue with the 2.1.0 upgrade which could cause the PRO license key field to need re-entering under some circumstances.
     328If affected please enter your PRO license key again. Apologies to anyone affected.
     329
    325330= 2.1.0 =
    326331* Removed extra spacing from `[wtf_fu_show_files]` when using email_format.
     
    430435
    431436== Upgrade Notice ==
     437= 2.1.1 =
     438* Fix issue with the 2.1.0 upgrade which could cause the PRO license key field to need re-entering under some circumstances.
     439If affected please enter your PRO license key again. Apologies to anyone affected.
     440
    432441= 2.1.0 =
    433442* Removed extra spacing from `[wtf_fu_show_files]` when using email_format.
  • work-the-flow-file-upload/trunk/includes/class-wtf-fu-options.php

    r920619 r920715  
    136136   
    137137    /**
    138      * merge existing options with default ones and discards any not defined in the
    139      * current options defaults array.
     138     * merge existing options with any new default ones.
     139     * To be safe does not delete any options.
     140     * This will be achieved the next time they get saved from the appropriate edit screen.
    140141     *
    141142     * @param type $options
     
    144145    public static function update_options_from_default_options($key, $options, $default_options) {
    145146
    146         $updated_options = array();
    147 
     147        $update_required = false;
    148148        foreach ($default_options as $k => $v) {
    149             if (array_key_exists($k, $options)) {
    150                 $updated_options[$k] = $options[$k];
    151             } else {
    152                 $updated_options[$k] = $v;
    153             }
    154         }
    155 
    156         update_option($key, $updated_options);
     149            if ( !array_key_exists($k, $options)) {
     150                $options[$k] = $v;  // add in new option.
     151                $update_required = true;
     152            }
     153        }
     154        if ($update_required === true) {
     155            update_option($key, $options);
     156        }
    157157    }
    158158   
  • work-the-flow-file-upload/trunk/public/class-wtf-fu.php

    r920619 r920715  
    4444     * @var     string
    4545     */
    46     const VERSION = '2.1.0';
     46    const VERSION = '2.1.1';
    4747
    4848    /**
  • work-the-flow-file-upload/trunk/work-the-flow-file-upload.php

    r920619 r920715  
    55 * Plugin URI:        http://wtf-fu.com
    66 * Description:       Front end Html5 File Upload and configurable Workflow steps. Multiple file drag and drop, gallery image display, file reordering and archiving.
    7  * Version:           2.1.0
     7 * Version:           2.1.1
    88 * Author:            Lynton Reed
    99 * Author URI:        http://wtf-fu.com
Note: See TracChangeset for help on using the changeset viewer.