Changeset 2390073
- Timestamp:
- 09/29/2020 06:49:40 AM (6 years ago)
- Location:
- add-on-woocommerce-mailpoet
- Files:
-
- 4 edited
- 6 copied
-
tags/1.1.7 (copied) (copied from add-on-woocommerce-mailpoet/trunk)
-
tags/1.1.7/add-on-woocommerce-mailpoet.php (copied) (copied from add-on-woocommerce-mailpoet/trunk/add-on-woocommerce-mailpoet.php)
-
tags/1.1.7/changelog.txt (copied) (copied from add-on-woocommerce-mailpoet/trunk/changelog.txt)
-
tags/1.1.7/includes/class-mpwa-frontend-fields.php (copied) (copied from add-on-woocommerce-mailpoet/trunk/includes/class-mpwa-frontend-fields.php)
-
tags/1.1.7/languages/add-on-woocommerce-mailpoet.pot (copied) (copied from add-on-woocommerce-mailpoet/trunk/languages/add-on-woocommerce-mailpoet.pot)
-
tags/1.1.7/readme.txt (copied) (copied from add-on-woocommerce-mailpoet/trunk/readme.txt)
-
trunk/add-on-woocommerce-mailpoet.php (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/class-mpwa-place-order.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
add-on-woocommerce-mailpoet/trunk/add-on-woocommerce-mailpoet.php
r2157829 r2390073 3 3 * Plugin Name: Add-on WooCommerce MailPoet 3 4 4 * Description: Let your customers subscribe to your newsletter as they checkout with their purchase. 5 * Version: 1.1. 75 * Version: 1.1.8 6 6 * Author: Tikweb 7 7 * Author URI: http://www.tikweb.dk/ … … 71 71 * If php version is lower 72 72 */ 73 if(version_compare(phpversion(), ' 5.4', '<')){73 if(version_compare(phpversion(), '7.0', '<')){ 74 74 function mailpoet_cfi_php_version_notice(){ 75 75 ?> 76 76 <div class="error"> 77 <p><?php _e('Add-on WooCommerce MailPoet 3 plugin requires PHP version 5.4or newer, Please upgrade your PHP.', 'add-on-woocommerce-mailpoet'); ?></p>77 <p><?php _e('Add-on WooCommerce MailPoet 3 plugin requires PHP version 7.0 or newer, Please upgrade your PHP.', 'add-on-woocommerce-mailpoet'); ?></p> 78 78 </div> 79 79 <?php -
add-on-woocommerce-mailpoet/trunk/changelog.txt
r2157829 r2390073 1 1 == Changelog == 2 3 = 1.1.8 - 2020-09-28 = 4 * Fixed and updated bugs caused by MailPoet version 3.51.0 2 5 3 6 = 1.1.7 - 2019-09-17 = -
add-on-woocommerce-mailpoet/trunk/includes/class-mpwa-place-order.php
r2116903 r2390073 104 104 try { 105 105 $subscribe_data['status'] = 'unconfirmed'; 106 Subscriber::createOrUpdate( $subscribe_data );107 $subscri ber = \MailPoet\API\API::MP( 'v1' )->subscribeToLists( $subscribe_data['email'],106 $subscriber = Subscriber::createOrUpdate( $subscribe_data ); 107 $subscription = \MailPoet\API\API::MP( 'v1' )->subscribeToLists( $subscriber->id, 108 108 $list_id_array, $options['send_confirmation_email'] = true ); 109 109 110 110 } catch ( Exception $exception ) { 111 $output = print_r($exception, true); 112 file_put_contents("exception.txt",$output); 111 113 } 112 114 } else { … … 144 146 try { 145 147 $subscribe_data['status'] = 'subscribed'; 146 Subscriber::createOrUpdate( $subscribe_data );147 $subscri ber = \MailPoet\API\API::MP( 'v1' )->subscribeToLists( $subscribe_data['email'],148 $subscriber = Subscriber::createOrUpdate( $subscribe_data ); 149 $subscription = \MailPoet\API\API::MP( 'v1' )->subscribeToLists( $subscriber->id, 148 150 $list_id_array, $options['send_confirmation_email'] = false ); 149 151 150 152 } catch ( Exception $exception ) { 153 151 154 } 152 155 } else { -
add-on-woocommerce-mailpoet/trunk/readme.txt
r2157829 r2390073 3 3 Tags: mailpoet, wysija, woocommerce, e-commerce, mail, email, e-mail, extension, add-on, newsletter, newsletters, subscription, checkout, list, lists, double opt-in, form 4 4 Donate link: http://www.tikweb.dk/donate/ 5 Requires at least: 4.66 Tested up to: 5. 2.27 Requires PHP: 5.38 Stable tag: 1.1. 75 Requires at least: 5.2 6 Tested up to: 5.5.1 7 Requires PHP: 7.0 8 Stable tag: 1.1.8 9 9 10 10 Let your customers subscribe to your MailPoet 3 newsletter as they checkout from WooCommerce with their purchase.
Note: See TracChangeset
for help on using the changeset viewer.