Plugin Directory

Changeset 1099217


Ignore:
Timestamp:
02/25/2015 01:08:37 PM (11 years ago)
Author:
marisp
Message:
  • Fixed warning error introduced in the version 1.8.10
Location:
wpnewsman-newsletters/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wpnewsman-newsletters/trunk/classes/class.newsmanTransmissionStreamer.php

    r1097205 r1099217  
    3535        // here
    3636
    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                }
    4446            }
    4547        }
    4648
    47         $this->cleanupTempErrors();
    48 
    49        
     49        $this->cleanupTempErrors();     
    5050
    5151        if ( count($this->plainAddresses) ) {
  • wpnewsman-newsletters/trunk/readme.txt

    r1099097 r1099217  
    55Requires at least: 4.0
    66Tested up to: 4.2
    7 Stable tag: 1.8.10
     7Stable tag: 1.8.11
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    127127== Changelog ==
    128128
     129= 1.8.11 =
     130
     131* Fixed warning error introduced in the version 1.8.10
     132
    129133= 1.8.10 =
    130134
  • wpnewsman-newsletters/trunk/views/mailbox.php

    r1099097 r1099217  
    152152    </div>
    153153
     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
    154168    <div class="modal" id="newsman-modal-chstatus" style="display: none;">
    155169        <div class="modal-header">
  • wpnewsman-newsletters/trunk/wpnewsman-mu-tpl

    r1099097 r1099217  
    66define('NEWSMAN_AJAX_REQUEST', isset( $_REQUEST['action'] ) && strpos($_REQUEST['action'], 'newsmanAj') !== false);
    77
    8 if ( isset($_REQUEST['newsman_worker_fork']) || NEWSMAN_AJAX_REQUEST ) {
    98   
    10     add_filter( 'option_active_plugins', 'wpnewsman_disable_other_plugins' );
     9add_filter( 'option_active_plugins', 'wpnewsman_disable_other_plugins' );
    1110
    12     function wpnewsman_disable_other_plugins($plugins) {
     11function wpnewsman_disable_other_plugins($plugins) {
     12    if ( isset($_REQUEST['newsman_worker_fork']) || NEWSMAN_AJAX_REQUEST ) {
     13
    1314        $whitelist = array(
    1415            'wpnewsman-pro/wpnewsman-pro.php',
     
    2526        return $whitelisted_plugins;
    2627    }
     28    return $plugins;
    2729}
  • wpnewsman-newsletters/trunk/wpnewsman.php

    r1099097 r1099217  
    44Plugin URI: http://wpnewsman.com
    55Description: 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.10
     6Version: 1.8.11
    77Author: Alex Ladyga - G-Lock Software
    88Author URI: http://www.glocksoft.com
     
    3232
    3333define('NEWSMAN', 'wpnewsman');
    34 define('NEWSMAN_VERSION', '1.8.10');
    35 
    36 define('NEWSMAN_MU_BUNDLED_VERSION', '1.0.6');
     34define('NEWSMAN_VERSION', '1.8.11');
     35
     36define('NEWSMAN_MU_BUNDLED_VERSION', '1.0.7');
    3737
    3838if ( preg_match('/.*?\.dev$/i', $_SERVER['HTTP_HOST']) ) {
Note: See TracChangeset for help on using the changeset viewer.