Changeset 2549531
- Timestamp:
- 06/17/2021 08:30:19 AM (5 years ago)
- Location:
- elastic-email-subscribe-form/trunk
- Files:
-
- 2 edited
-
elasticemailsubscribe.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
elastic-email-subscribe-form/trunk/elasticemailsubscribe.php
r2546202 r2549531 24 24 /* 25 25 * Plugin Name: Elastic Email Subscribe Form 26 * Version: 1.2 26 * Version: 1.2.1 27 27 * Plugin URI: https://wordpress.org/plugins/elastic-email-subscribe-form/ 28 28 * Description: This plugin add subscribe widget to your page and integration with Elastic Email account. … … 71 71 } 72 72 73 function wp_upe_upgrade_completed( $upgrader_object, $options ) { 74 $our_plugin = plugin_basename( __FILE__ ); 75 if( $options['action'] == 'update' && $options['type'] == 'plugin' && isset( $options['plugins'] ) ) { 76 foreach( $options['plugins'] as $plugin ) { 77 if( $plugin == $our_plugin ) { 78 if (get_option('ee_mimetype') === false ) { 79 update_option('ee_mimetype', 'auto'); 80 } 81 } 82 } 83 } 84 } 85 86 add_action( 'upgrader_process_complete', 'wp_upe_upgrade_completed', 10, 2 ); 87 73 88 function elasticemailsubscribe_activate() 74 89 { -
elastic-email-subscribe-form/trunk/readme.txt
r2546202 r2549531 98 98 == Changelog == 99 99 100 = 1.2.1 = 101 * Fix: Update MIME type after update 102 100 103 = 1.2 = 101 104 * Fix: MIME types and transactional message type
Note: See TracChangeset
for help on using the changeset viewer.