Skip to content

Commit

Permalink
Remove bug on the csv headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahe committed Dec 18, 2014
1 parent 2dff905 commit c5da17f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions bea_sender.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Author: BeApi
Domain Path: /languages/
Text Domain: bea_sender
Version: 1.2.7
Version: 1.2.8
*/

// Database declarations
Expand All @@ -24,7 +24,7 @@

define('BEA_SENDER_URL', plugin_dir_url ( __FILE__ ));
define('BEA_SENDER_DIR', plugin_dir_path( __FILE__ ));
define( 'BEA_SENDER_VER', '1.2.7' );
define( 'BEA_SENDER_VER', '1.2.8' );
define( 'BEA_SENDER_PPP', '10' );
define( 'BEA_SENDER_DEFAULT_COUNTER', 100 );
define( 'BEA_SENDER_OPTION_NAME', 'bea_s-main' );
Expand Down
24 changes: 12 additions & 12 deletions inc/utils/class.export.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,7 @@
class Bea_Sender_Export {
private static $header_titles;

function __construct() {
$this->header_titles = apply_filters(
'bea_sender_csv_headers', array(
'Id',
'Email',
'Current status',
'Bounce cat',
'Bounce type',
'Bounce no'
)
);
}
function __construct() {}

/**
* Retrieve datas for globals or single campaign
Expand Down Expand Up @@ -98,6 +87,17 @@ public static function export_campaign( $campaign_id = 0 ) {
* @return mixed|void
*/
public static function get_Header_titles() {
self::$header_titles = apply_filters(
'bea_sender_csv_headers', array(
'Id',
'Email',
'Current status',
'Bounce cat',
'Bounce type',
'Bounce no'
)
);

return self::$header_titles;
}
}

0 comments on commit c5da17f

Please sign in to comment.