Plugin Directory

Changeset 964223


Ignore:
Timestamp:
08/12/2014 02:05:01 AM (12 years ago)
Author:
DragonOfDev
Message:

Fix the error of account details

Location:
mailin/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mailin/trunk/page/page-home.php

    r962382 r964223  
    554554            $mailin = new Mailin('https://api.sendinblue.com/v1.0', SIB_Manager::$access_key, SIB_Manager::$secret_key);
    555555            $mailin->delete_token(SIB_Manager::$access_token);
     556
     557            // remove account info
     558            self::remove_account_info();
    556559
    557560            wp_redirect(add_query_arg('page', self::page_id, admin_url('admin.php')));
     
    673676            }
    674677        }
     678
     679        /**
     680         * Remove account info
     681         */
     682        static function remove_account_info()
     683        {
     684            $account_settings = array();
     685            update_option(SIB_Manager::account_option_name, $account_settings);
     686        }
    675687    }
    676688
  • mailin/trunk/readme.txt

    r963765 r964223  
    11=== SendinBlue Subscribe Form And WP SMTP ===
    2 Contributors: DragonOfDev, SendinBlue 
     2Contributors: DragonOfDev, SendinBlue
    33Tags: mailin,mailinblue,sendinblue, mail, wordpress smtp, phpmailer, smtp, wp_mail, email, gmail, outgoing mail, privacy, security, sendmail, ssl, tls, wp-phpmailer, mail smtp, wp smtp, mailchimp, marketing, newsletter, plugin, signup, widget,  batch sending, bounce, cron, mail throttling, mailing list, multilanguage, send, signup, subscribe, subscription
    44Requires at least: 3.0
    55Tested up to: 3.9.2
    6 Stable tag: 2.0.1
     6Stable tag: 2.0.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42= 2.0.2 =
     43* Fix the error of account detail
     44
    4245= 2.0.1 =
    4346* Fix compatible error
  • mailin/trunk/sendinblue.php

    r963764 r964223  
    44Plugin URI: https://www.sendinblue.com/?r=wporg
    55Description: Easily send emails from your WordPress blog using SendinBlue SMTP and easily add a subscribe form to your site
    6 Version: 2.0.1
    7 Author: SendinBlue, Dragonofdev 
     6Version: 2.0.2
     7Author: SendinBlue, Dragonofdev
    88Author URI: https://www.sendinblue.com/?r=wporg
    99License: GPLv2 or later
     
    287287            self::$instance = $this;
    288288
    289 
    290289            add_action('admin_init', array(&$this, 'admin_init'), 9999);
    291290            add_action('admin_menu', array(&$this, 'admin_menu'), 9999);
     
    478477        static function uninstall()
    479478        {
    480 
     479            $setting = array();
     480            update_option(SIB_Manager::main_option_name, $setting);
     481
     482            $home_settings = array(
     483                'activate_email' => 'yes'
     484            );
     485            update_option(SIB_Manager::home_option_name, $home_settings);
     486
     487            // delete access_token
     488            $token_settings = array();
     489            update_option(SIB_Manager::access_token_option_name, $token_settings);
     490
     491            // remove account info
     492            SIB_Page_Home::remove_account_info();
    481493        }
    482494
Note: See TracChangeset for help on using the changeset viewer.