Easy Forms for MailChimp - Version 6.3.9

Version Description

Download this release

Release Info

Developer yikesitskevin
Plugin Icon 128x128 Easy Forms for MailChimp
Version 6.3.9
Comparing to
See all releases

Code changes from version 6.3.8 to 6.3.9

admin/class-yikes-inc-easy-mailchimp-extender-admin.php CHANGED
@@ -540,7 +540,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
540
 
541
  $stop_bugging_me = get_option( 'yikes_easy_mailchimp_review_stop_bugging_me' );
542
 
543
- if( !$stop_bugging_me ) {
544
  $install_date = get_option( 'yikes_easy_mailchimp_activation_date' );
545
  $past_date = strtotime( '-14 days' );
546
  if ( $past_date >= $install_date && current_user_can( 'install_plugins' ) ) {
@@ -559,11 +559,17 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
559
  /* Lets only display our admin notice on YT4WP pages to not annoy the hell out of people :) */
560
  if ( in_array( get_current_screen()->base , array( 'dashboard' , 'post' , 'edit' ) ) || strpos( get_current_screen()->base ,'yikes-inc-easy-mailchimp') !== false ) {
561
 
 
 
 
 
 
 
562
  $plugin_name = '<strong>Easy Forms for MailChimp</strong>';
563
  // Review URL - Change to the URL of your plugin on WordPress.org
564
  $reviewurl = 'https://wordpress.org/support/view/plugin-reviews/yikes-inc-easy-mailchimp-extender';
565
  $addons_url = esc_url( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp-addons' ) );
566
- $nobugurl = esc_url_raw( add_query_arg( 'yikes_easy_mc_icons_nobug', '1', admin_url() ) );
567
 
568
  // Make sure all of our variables have values
569
  $reviewurl = ( ! empty( $reviewurl ) ) ? $reviewurl : '';
540
 
541
  $stop_bugging_me = get_option( 'yikes_easy_mailchimp_review_stop_bugging_me' );
542
 
543
+ if ( ! $stop_bugging_me ) {
544
  $install_date = get_option( 'yikes_easy_mailchimp_activation_date' );
545
  $past_date = strtotime( '-14 days' );
546
  if ( $past_date >= $install_date && current_user_can( 'install_plugins' ) ) {
559
  /* Lets only display our admin notice on YT4WP pages to not annoy the hell out of people :) */
560
  if ( in_array( get_current_screen()->base , array( 'dashboard' , 'post' , 'edit' ) ) || strpos( get_current_screen()->base ,'yikes-inc-easy-mailchimp') !== false ) {
561
 
562
+ // The URL of the page the user is currently on
563
+ $current_uri = isset( $_SERVER['REQUEST_URI'] ) && ! empty( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : false;
564
+ $current_host = isset( $_SERVER['HTTP_HOST'] ) && ! empty( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST'] : false;
565
+ $current_protocol = is_ssl() === true ? 'https://' : 'http://';
566
+ $current_url = ( $current_uri !== false && $current_host !== false ) ? $current_protocol . $current_host . $current_uri : admin_url();
567
+
568
  $plugin_name = '<strong>Easy Forms for MailChimp</strong>';
569
  // Review URL - Change to the URL of your plugin on WordPress.org
570
  $reviewurl = 'https://wordpress.org/support/view/plugin-reviews/yikes-inc-easy-mailchimp-extender';
571
  $addons_url = esc_url( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp-addons' ) );
572
+ $nobugurl = esc_url_raw( add_query_arg( 'yikes_easy_mc_icons_nobug', '1', $current_url ) );
573
 
574
  // Make sure all of our variables have values
575
  $reviewurl = ( ! empty( $reviewurl ) ) ? $reviewurl : '';
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: yikesinc, eherman24, liljimmi, hiwhatsup, JPry, yikesitskevin
3
  Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
- Tested up to: 4.7.2
7
- Stable tag: 6.3.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -247,6 +247,9 @@ Below you'll find a complete list of the hooks and filters available in Easy For
247
 
248
  == Changelog ==
249
 
 
 
 
250
  = Easy Forms for MailChimp 6.3.8 - March 3rd, 2017 =
251
  * Fixed an issue with label classes and refactored the code - there are now spaces in between the classes
252
 
3
  Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
+ Tested up to: 4.7.3
7
+ Stable tag: 6.3.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
247
 
248
  == Changelog ==
249
 
250
+ = Easy Forms for MailChimp 6.3.9 - March 10th, 2017 =
251
+ * The dismiss button for the "Please Review Us" box now redirects you to your current page instead of the admin home page.
252
+
253
  = Easy Forms for MailChimp 6.3.8 - March 3rd, 2017 =
254
  * Fixed an issue with label classes and refactored the code - there are now spaces in between the classes
255
 
yikes-inc-easy-mailchimp-extender.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
- * Version: 6.3.8
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
@@ -42,7 +42,7 @@ if ( ! defined( 'WPINC' ) ) {
42
  * @since 6.1.3
43
  */
44
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
45
- define( 'YIKES_MC_VERSION' , '6.3.8' );
46
  }
47
 
48
  /**
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
+ * Version: 6.3.9
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
42
  * @since 6.1.3
43
  */
44
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
45
+ define( 'YIKES_MC_VERSION' , '6.3.9' );
46
  }
47
 
48
  /**