Newsletter - Version 4.7.8

Version Description

  • Old TGMPA library compatibility
Download this release

Release Info

Developer webagile
Plugin Icon 128x128 Newsletter
Version 4.7.8
Comparing to
See all releases

Code changes from version 4.7.7 to 4.7.8

includes/class-tgm-plugin-activation.php CHANGED
@@ -920,7 +920,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) {
920
  echo '<p>', sprintf( esc_html( $this->strings['complete'] ), '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html__( 'Return to the Dashboard', 'tgmpa' ) . '</a>' ), '</p>';
921
  echo '<style type="text/css">#adminmenu .wp-submenu li.current { display: none !important; }</style>';
922
  } else {
923
- echo '<p><a href="', esc_url( $this->get_tgmpa_url() ), '" target="_parent">', esc_html( $this->strings['return'] ), '</a></p>';
924
  }
925
 
926
  return true;
@@ -3144,12 +3144,12 @@ if ( ! class_exists( 'TGM_Bulk_Installer_Skin' ) ) {
3144
  *
3145
  * @since 2.2.0
3146
  */
3147
- add_action( 'admin_init', 'tgmpa_load_bulk_installer' );
3148
- if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) {
3149
  /**
3150
  * Load bulk installer
3151
  */
3152
- function tgmpa_load_bulk_installer() {
3153
  // Silently fail if 2.5+ is loaded *after* an older version.
3154
  if ( ! isset( $GLOBALS['tgmpa'] ) ) {
3155
  return;
920
  echo '<p>', sprintf( esc_html( $this->strings['complete'] ), '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html__( 'Return to the Dashboard', 'tgmpa' ) . '</a>' ), '</p>';
921
  echo '<style type="text/css">#adminmenu .wp-submenu li.current { display: none !important; }</style>';
922
  } else {
923
+ echo '<p><a href="admin.php?page=newsletter_main_extensions" target="_parent">', esc_html( $this->strings['return'] ), '</a></p>';
924
  }
925
 
926
  return true;
3144
  *
3145
  * @since 2.2.0
3146
  */
3147
+ add_action( 'admin_init', 'tgmpa_tnp_load_bulk_installer' );
3148
+ if ( ! function_exists( 'tgmpa_tnp_load_bulk_installer' ) ) {
3149
  /**
3150
  * Load bulk installer
3151
  */
3152
+ function tgmpa_tnp_load_bulk_installer() {
3153
  // Silently fail if 2.5+ is loaded *after* an older version.
3154
  if ( ! isset( $GLOBALS['tgmpa'] ) ) {
3155
  return;
plugin.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Newsletter
5
  Plugin URI: http://www.thenewsletterplugin.com/plugins/newsletter
6
  Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="http://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
- Version: 4.7.7
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: http://www.thenewsletterplugin.com
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
@@ -14,7 +14,7 @@
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
- define('NEWSLETTER_VERSION', '4.7.7');
18
 
19
  global $wpdb, $newsletter;
20
 
@@ -1530,7 +1530,16 @@ function tnpc_css_callback() {
1530
  }
1531
 
1532
  if (is_admin()) {
 
 
 
 
1533
 
 
 
 
 
 
1534
  // TGM PLUGIN ACTIVATION
1535
  // see http://tgmpluginactivation.com/configuration/ for detailed documentation.
1536
  require_once dirname(__FILE__) . '/includes/class-tgm-plugin-activation.php';
4
  Plugin Name: Newsletter
5
  Plugin URI: http://www.thenewsletterplugin.com/plugins/newsletter
6
  Description: Newsletter is a cool plugin to create your own subscriber list, to send newsletters, to build your business. <strong>Before update give a look to <a href="http://www.thenewsletterplugin.com/category/release">this page</a> to know what's changed.</strong>
7
+ Version: 4.7.8
8
  Author: Stefano Lissa & The Newsletter Team
9
  Author URI: http://www.thenewsletterplugin.com
10
  Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
14
  */
15
 
16
  // Used as dummy parameter on css and js links
17
+ define('NEWSLETTER_VERSION', '4.7.8');
18
 
19
  global $wpdb, $newsletter;
20
 
1530
  }
1531
 
1532
  if (is_admin()) {
1533
+ add_action('plugins_loaded', 'newsletter_plugin_loaded');
1534
+ }
1535
+
1536
+ function newsletter_plugin_loaded() {
1537
 
1538
+ // Check the TGM version?
1539
+ // if (class_exists('TGM_Plugin_Activation') && TGM_Plugin_Activation::TGMPA_VERSION != '2.6.1') {
1540
+ // // Something
1541
+ // }
1542
+
1543
  // TGM PLUGIN ACTIVATION
1544
  // see http://tgmpluginactivation.com/configuration/ for detailed documentation.
1545
  require_once dirname(__FILE__) . '/includes/class-tgm-plugin-activation.php';
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated
3
  Requires at least: 3.4.0
4
  Tested up to: 4.7.1
5
- Stable tag: 4.7.7
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
@@ -77,6 +77,10 @@ Thank you, The Newsletter Team
77
 
78
  == Changelog ==
79
 
 
 
 
 
80
  = 4.7.7 =
81
 
82
  * New extensions panel
2
  Tags: newsletter,email,subscription,mass mail,list build,email marketing,direct mailing,automation,automated
3
  Requires at least: 3.4.0
4
  Tested up to: 4.7.1
5
+ Stable tag: 4.7.8
6
  Contributors: satollo,webagile,michael-travan
7
 
8
  Add a real newsletter system to your blog. For free. With unlimited newsletters and subscribers.
77
 
78
  == Changelog ==
79
 
80
+ = 4.7.8 =
81
+
82
+ * Old TGMPA library compatibility
83
+
84
  = 4.7.7 =
85
 
86
  * New extensions panel