WP Better Emails - Version 0.2.3

Version Description

  • Fixed 3.3 beta compatilibity
    • Fixed 3.3 help panel trigger
Download this release

Release Info

Developer nlemoine
Plugin Icon 128x128 WP Better Emails
Version 0.2.3
Comparing to
See all releases

Code changes from version 0.2.2 to 0.2.3

Files changed (2) hide show
  1. readme.txt +6 -1
  2. wpbe.php +3 -3
readme.txt CHANGED
@@ -3,7 +3,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7Q49V
3
  Tags: email, emails, html emails, templates, notification, wp_mail, wpmu, multisite
4
  Requires at least: 2.8
5
  Tested up to: 3.3
6
- Stable tag: 0.2.2
7
 
8
  Adds a customizable good looking HTML template to all WP default plain/text emails and lets you set
9
  a custom sender name and email address.
@@ -117,6 +117,11 @@ You can place this function in your functions.php theme file or in a plugin.
117
 
118
  == Changelog ==
119
 
 
 
 
 
 
120
  = 0.2.2 =
121
 
122
  * Added 3.3 compatibility
3
  Tags: email, emails, html emails, templates, notification, wp_mail, wpmu, multisite
4
  Requires at least: 2.8
5
  Tested up to: 3.3
6
+ Stable tag: 0.2.3
7
 
8
  Adds a customizable good looking HTML template to all WP default plain/text emails and lets you set
9
  a custom sender name and email address.
117
 
118
  == Changelog ==
119
 
120
+ = 0.2.3 =
121
+
122
+ * Fixed 3.3 beta compatilibity
123
+ * Fixed 3.3 help panel trigger
124
+
125
  = 0.2.2 =
126
 
127
  * Added 3.3 compatibility
wpbe.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Better Emails
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-better-emails/
5
  Description: Beautify the default text/plain WP mails into fully customizable HTML emails.
6
- Version: 0.2.2
7
  Author: ArtyShow
8
  Author URI: http://wordpress.org/extend/plugins/wp-better-emails/
9
  License: GPLv2
@@ -73,7 +73,7 @@ if (!class_exists('WP_Better_Emails')) {
73
  add_action('admin_init', array(&$this, 'init'));
74
  add_action('admin_menu', array(&$this, 'admin_menu'));
75
  add_action('wp_ajax_send_preview', array(&$this, 'ajax_send_preview'));
76
- if(version_compare($wp_version, '3.3', '<'))
77
  add_action('admin_head', array(&$this, 'load_wp_tiny_mce'));
78
  if( version_compare($wp_version, '3.2', '<') && version_compare($wp_version, '3.0.6', '>') )
79
  add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs');
@@ -507,7 +507,7 @@ if (!class_exists('WP_Better_Emails')) {
507
  function template_editor() {
508
  global $wp_version;
509
 
510
- if (version_compare($wp_version, '3.3', '<')) {
511
  ?>
512
  <textarea id="wpbe_template" class="wpbe_template" name="wpbe_options[template]" cols="80" rows="10"><?php echo $this->options['template']; ?></textarea>
513
  <?php
3
  Plugin Name: WP Better Emails
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-better-emails/
5
  Description: Beautify the default text/plain WP mails into fully customizable HTML emails.
6
+ Version: 0.2.3
7
  Author: ArtyShow
8
  Author URI: http://wordpress.org/extend/plugins/wp-better-emails/
9
  License: GPLv2
73
  add_action('admin_init', array(&$this, 'init'));
74
  add_action('admin_menu', array(&$this, 'admin_menu'));
75
  add_action('wp_ajax_send_preview', array(&$this, 'ajax_send_preview'));
76
+ if (version_compare($wp_version, '3.2.1', '<='))
77
  add_action('admin_head', array(&$this, 'load_wp_tiny_mce'));
78
  if( version_compare($wp_version, '3.2', '<') && version_compare($wp_version, '3.0.6', '>') )
79
  add_action( 'admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs');
507
  function template_editor() {
508
  global $wp_version;
509
 
510
+ if (version_compare($wp_version, '3.2.1', '<=')) {
511
  ?>
512
  <textarea id="wpbe_template" class="wpbe_template" name="wpbe_options[template]" cols="80" rows="10"><?php echo $this->options['template']; ?></textarea>
513
  <?php