Changeset 1099217
- Timestamp:
- 02/25/2015 01:08:37 PM (11 years ago)
- Location:
- wpnewsman-newsletters/trunk
- Files:
-
- 5 edited
-
classes/class.newsmanTransmissionStreamer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
views/mailbox.php (modified) (1 diff)
-
wpnewsman-mu-tpl (modified) (2 diffs)
-
wpnewsman.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpnewsman-newsletters/trunk/classes/class.newsmanTransmissionStreamer.php
r1097205 r1099217 35 35 // here 36 36 37 foreach ($to as $dest) { 38 $dest = trim($dest); 39 if ( preg_match("/^[^@]*@[^@]*\.[^@]*$/", $dest) ) { 40 // email 41 $this->plainAddresses[] = $dest; 42 } else { 43 $this->to[] = $dest; 37 if ( is_array($to) ) { 38 foreach ($to as $dest) { 39 $dest = trim($dest); 40 if ( preg_match("/^[^@]*@[^@]*\.[^@]*$/", $dest) ) { 41 // email 42 $this->plainAddresses[] = $dest; 43 } else { 44 $this->to[] = $dest; 45 } 44 46 } 45 47 } 46 48 47 $this->cleanupTempErrors(); 48 49 49 $this->cleanupTempErrors(); 50 50 51 51 if ( count($this->plainAddresses) ) { -
wpnewsman-newsletters/trunk/readme.txt
r1099097 r1099217 5 5 Requires at least: 4.0 6 6 Tested up to: 4.2 7 Stable tag: 1.8.1 07 Stable tag: 1.8.11 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 127 127 == Changelog == 128 128 129 = 1.8.11 = 130 131 * Fixed warning error introduced in the version 1.8.10 132 129 133 = 1.8.10 = 130 134 -
wpnewsman-newsletters/trunk/views/mailbox.php
r1099097 r1099217 152 152 </div> 153 153 154 <div class="modal dlg" id="newsman-modal-delete" style="display: none;"> 155 <div class="modal-header"> 156 <button class="close" data-dismiss="modal">×</button> 157 <h3><?php _e('Please, confirm...', NEWSMAN); ?></h3> 158 </div> 159 <div class="modal-body"> 160 <p><?php _e('Are you sure you want to delete selected emails?', NEWSMAN); ?></p> 161 </div> 162 <div class="modal-footer"> 163 <a class="btn" mr="cancel"><?php _e('Close', NEWSMAN); ?></a> 164 <a class="btn btn-danger" mr="ok"><?php _e('Delete', NEWSMAN); ?></a> 165 </div> 166 </div> 167 154 168 <div class="modal" id="newsman-modal-chstatus" style="display: none;"> 155 169 <div class="modal-header"> -
wpnewsman-newsletters/trunk/wpnewsman-mu-tpl
r1099097 r1099217 6 6 define('NEWSMAN_AJAX_REQUEST', isset( $_REQUEST['action'] ) && strpos($_REQUEST['action'], 'newsmanAj') !== false); 7 7 8 if ( isset($_REQUEST['newsman_worker_fork']) || NEWSMAN_AJAX_REQUEST ) {9 8 10 add_filter( 'option_active_plugins', 'wpnewsman_disable_other_plugins' );9 add_filter( 'option_active_plugins', 'wpnewsman_disable_other_plugins' ); 11 10 12 function wpnewsman_disable_other_plugins($plugins) { 11 function wpnewsman_disable_other_plugins($plugins) { 12 if ( isset($_REQUEST['newsman_worker_fork']) || NEWSMAN_AJAX_REQUEST ) { 13 13 14 $whitelist = array( 14 15 'wpnewsman-pro/wpnewsman-pro.php', … … 25 26 return $whitelisted_plugins; 26 27 } 28 return $plugins; 27 29 } -
wpnewsman-newsletters/trunk/wpnewsman.php
r1099097 r1099217 4 4 Plugin URI: http://wpnewsman.com 5 5 Description: You get simple yet powerful newsletter solution for WordPress. Now you can easily add double optin subscription forms in widgets, articles and pages, import and manage your lists, create and send beautiful newsletters directly from your WordPress site. You get complete freedom and a lower cost compared to Email Service Providers. Free yourself from paying for expensive email campaigns. WPNewsman plugin updated regularly with new features. 6 Version: 1.8.1 06 Version: 1.8.11 7 7 Author: Alex Ladyga - G-Lock Software 8 8 Author URI: http://www.glocksoft.com … … 32 32 33 33 define('NEWSMAN', 'wpnewsman'); 34 define('NEWSMAN_VERSION', '1.8.1 0');35 36 define('NEWSMAN_MU_BUNDLED_VERSION', '1.0. 6');34 define('NEWSMAN_VERSION', '1.8.11'); 35 36 define('NEWSMAN_MU_BUNDLED_VERSION', '1.0.7'); 37 37 38 38 if ( preg_match('/.*?\.dev$/i', $_SERVER['HTTP_HOST']) ) {
Note: See TracChangeset
for help on using the changeset viewer.