Plugin Directory

Changeset 393190


Ignore:
Timestamp:
06/04/2011 08:15:15 PM (15 years ago)
Author:
jameslafferty
Message:

0.8.5 and tagged 0.8.2

Location:
mailchimp-widget
Files:
3 edited
7 copied

Legend:

Unmodified
Added
Removed
  • mailchimp-widget/trunk/lib/ns_mc_plugin.class.php

    r365853 r393190  
    8888    }
    8989
    90     public function admin_page () {
     90    public function admin_page () {
     91       
     92        global $blog_id;   
    9193       
    9294        $api_key = (is_array($this->options)) ? $this->options['api-key'] : '';
     
    126128        if (function_exists('curl_init')) {
    127129       
    128             $admin_page .= '<p>' . __('Enter a valid MailChimp API key here to get started. Once you\'ve done that, you can use the MailChimp Widget from the Widgets menu. You will need to have at least MailChimp list set up before the using the widget.', 'mailchimp-widget') . '</p><form action="' . $_SERVER['PHP_SELF'] . '?page=' . $_GET['page'] . '" method="post">' . wp_nonce_field(self::$prefix . '_update_options', self::$prefix . '_nonce', true, false) . '<table class="form-table"><tr valign="top"><th scope="row"><label for="' . self::$prefix . '-api-key">MailChimp Api Key</label></th><td><input class="regular-text" id="' . self::$prefix . '-api-key" name="' . self::$prefix . '-api-key" type="password" value="' . $api_key . '" /></td></tr></table><p class="submit"><input type="submit" name="Submit" class="button-primary" value="' . __('Save Changes', 'mailchimp-widget') . '" /></p></form>';
     130            $admin_page .= '<p>' . __('Enter a valid MailChimp API key here to get started. Once you\'ve done that, you can use the MailChimp Widget from the Widgets menu. You will need to have at least MailChimp list set up before the using the widget.', 'mailchimp-widget') . '</p><form action="' . get_admin_url($blog_id) . '?page=' . $_GET['page'] . '" method="post">' . wp_nonce_field(self::$prefix . '_update_options', self::$prefix . '_nonce', true, false) . '<table class="form-table"><tr valign="top"><th scope="row"><label for="' . self::$prefix . '-api-key">MailChimp Api Key</label></th><td><input class="regular-text" id="' . self::$prefix . '-api-key" name="' . self::$prefix . '-api-key" type="password" value="' . $api_key . '" /></td></tr></table><p class="submit"><input type="submit" name="Submit" class="button-primary" value="' . __('Save Changes', 'mailchimp-widget') . '" /></p></form>';
    129131           
    130132        } else {
  • mailchimp-widget/trunk/mailchimp-widget.php

    r390917 r393190  
    55Description:
    66Author: James Lafferty
    7 Version: 0.8.2
     7Version: 0.8.5
    88Author URI: https://github.com/kalchas
    99License: GPL2
  • mailchimp-widget/trunk/readme.txt

    r390917 r393190  
    4141
    4242== Changelog ==
     43= 0.8.5 =
     44* Fix for some issues Multisite users were having when trying to add API keys. Thank you to [khungate ](https://github.com/khungate) and [tapuat](https://github.com/tapuat) over at GitHub for finding this and helping me figure out a fix.
     45
    4346= 0.8.2 =
    4447* Added Spanish translation. Thank you to [Iván Gabriel Campaña Naranjo](http://icampana.blogspot.com/) for this contribution!
     
    106109
    107110== Upgrade Notice ==
     111= 0.8.5 =
     112* Fix for some issues MultiSite users were having when trying to add API keys. Thank you to [khungate ](https://github.com/khungate) and [tapuat](https://github.com/tapuat) over at GitHub for finding this and helping me figure out a fix.
     113
    108114= 0.8.2 =
    109115* Adds support for Spanish. Thank you to [Iván Gabriel Campaña Naranjo](http://icampana.blogspot.com/) for the translation.
Note: See TracChangeset for help on using the changeset viewer.