Plugin Directory

Changeset 1578015


Ignore:
Timestamp:
01/19/2017 02:05:58 PM (9 years ago)
Author:
MailChimp
Message:

Fix unstyled success message. Correctly initialize variable.

Location:
mailchimp
Files:
221 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • mailchimp/trunk/lib/mailchimp/mailchimp.php

    r1560902 r1578015  
    2121    public function get($endpoint, $count = 10, $fields = array())
    2222    {
     23        $query_params = '';
     24
    2325        $url = $this->api_url . $endpoint;
    2426
  • mailchimp/trunk/mailchimp.php

    r1560902 r1578015  
    44Plugin URI: http://www.mailchimp.com/plugins/mailchimp-wordpress-plugin/
    55Description: The MailChimp plugin allows you to quickly and easily add a signup form for your MailChimp list.
    6 Version: 1.5.6
     6Version: 1.5.7
    77Author: MailChimp
    88Author URI: https://mailchimp.com/
     
    2626
    2727// Version constant for easy CSS refreshes
    28 define('MCSF_VER', '1.5.6');
     28define('MCSF_VER', '1.5.7');
    2929
    3030// What's our permission (capability) threshold
     
    9797    if (get_option('mc_use_javascript') == 'on') {
    9898        if (!is_admin()) {
    99             wp_enqueue_script('jquery_scrollto', MCSF_URL.'js/scrollTo.js', array('jquery'), MCSF_VER);
    100             wp_enqueue_script('mailchimpSF_main_js', MCSF_URL.'js/mailchimp.js', array('jquery', 'jquery-form'), MCSF_VER);
     99            wp_enqueue_script('jquery_scrollto', MCSF_URL.'/js/scrollTo.js', array('jquery'), MCSF_VER);
     100            wp_enqueue_script('mailchimpSF_main_js', MCSF_URL.'/js/mailchimp.js', array('jquery', 'jquery-form'), MCSF_VER);
    101101            // some javascript to get ajax version submitting to the proper location
    102102            global $wp_scripts;
     
    233233                switch ($_POST['mc_submit_type']) {
    234234                    case 'html':
    235                         /* Allow to fall through.  The widget will pick up the
    236                         * global message left over from the signup_submit function */
     235                        /* This gets set elsewhere! */
     236                        break;
    237237                    case 'js':
    238238                        if (!headers_sent()){ //just in case...
     
    581581    //we *could* support paging, but few users have that many lists (and shouldn't)
    582582    $lists = $api->get('lists',100, array('fields' => 'lists.id,lists.name,lists.email_type_option'));
     583
    583584    $lists = $lists['lists'];
    584585
  • mailchimp/trunk/readme.txt

    r1560902 r1578015  
    44Requires at least: 2.8
    55Tested up to: 4.5
    6 Stable tag: 1.5.6
     6Stable tag: 1.5.7
    77
    88== Description ==
     
    130130
    131131== Changelog ==
     132= 1.5.7 =
     133* Fix undefined variable notice.
     134* Fix HTML submission message.
     135
    132136= 1.5.6 =
    133137* Fixes short array notation which caused a fatal error in older PHP versions.
Note: See TracChangeset for help on using the changeset viewer.