ThemeGrill Demo Importer - Version 1.8.6

Version Description

Download this release

Release Info

Developer themegrilldev
Plugin Icon 128x128 ThemeGrill Demo Importer
Version 1.8.6
Comparing to
See all releases

Code changes from version 1.8.5 to 1.8.6

includes/class-themegrill-demo-importer.php CHANGED
@@ -113,7 +113,9 @@ final class ThemeGrill_Demo_Importer {
113
  add_filter( 'plugin_action_links_' . TGDM_PLUGIN_BASENAME, array( $this, 'plugin_action_links' ) );
114
  add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
115
  } else {
116
- add_action( 'admin_notices', array( $this, 'theme_support_missing_notice' ) );
 
 
117
  }
118
  }
119
 
@@ -152,11 +154,10 @@ final class ThemeGrill_Demo_Importer {
152
  'magazinex',
153
  );
154
  // Check for official core themes pro version.
155
- $pro_themes = array_diff( $core_themes, array( 'explore', 'masonic' ) );
156
  if ( ! empty( $pro_themes ) ) {
157
  $pro_themes = preg_replace( '/$/', '-pro', $pro_themes );
158
  }
159
-
160
  return array_merge( $core_themes, $pro_themes );
161
  }
162
 
113
  add_filter( 'plugin_action_links_' . TGDM_PLUGIN_BASENAME, array( $this, 'plugin_action_links' ) );
114
  add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 2 );
115
  } else {
116
+ if ( get_option( 'template' ) !== 'estory-pro' ) {
117
+ add_action( 'admin_notices', array( $this, 'theme_support_missing_notice' ) );
118
+ }
119
  }
120
  }
121
 
154
  'magazinex',
155
  );
156
  // Check for official core themes pro version.
157
+ $pro_themes = array_diff( $core_themes, array( 'explore', 'masonic', 'estory' ) );
158
  if ( ! empty( $pro_themes ) ) {
159
  $pro_themes = preg_replace( '/$/', '-pro', $pro_themes );
160
  }
 
161
  return array_merge( $core_themes, $pro_themes );
162
  }
163
 
readme.txt CHANGED
@@ -76,6 +76,9 @@ Yes you can! Join in on our [GitHub repository](https://github.com/themegrill/th
76
  3. Finally, Import the Demo with just one click.
77
 
78
  == Changelog ==
 
 
 
79
  = 1.8.5 - 19-09-2022 =
80
  * Fix - Compatibility with Masteriyo Pro.
81
 
76
  3. Finally, Import the Demo with just one click.
77
 
78
  == Changelog ==
79
+ = FDB =
80
+ * Remove - Support for eStory Pro.
81
+
82
  = 1.8.5 - 19-09-2022 =
83
  * Fix - Compatibility with Masteriyo Pro.
84