Slide Anything – Responsive Content / HTML Slider and Carousel - Version 2.2.4

Version Description

  • Bug Fix - Do not display the PRO upgrade notice within the WordPress Dashboard if you have already upgraded to the PRO version.

=

Download this release

Release Info

Developer simonpedge
Plugin Icon 128x128 Slide Anything – Responsive Content / HTML Slider and Carousel
Version 2.2.4
Comparing to
See all releases

Code changes from version 2.2.3 to 2.2.4

Files changed (3) hide show
  1. php/slide-anything-admin.php +34 -30
  2. readme.txt +8 -2
  3. slide-anything.php +1 -1
php/slide-anything-admin.php CHANGED
@@ -123,37 +123,41 @@ function cpt_slider_plugin_activation() {
123
  function version_20_upgrade_notice() {
124
  global $current_user ;
125
  $user_id = $current_user->ID;
126
- /* Check that the user hasn't already clicked to ignore the message */
127
- if (!get_user_meta($user_id, 'sa_ignore_notice')) {
128
- echo "<div class='notice notice-info' style='padding-top:10px;'>";
129
-
130
- echo "<div style='float:left; width:170px; margin-right:15px;'><a href='https://edgewebpages.com/' target='_blank'>";
131
- echo "<img style='width:100%;' src='https://edgewebpages.com/wp-content/uploads/2017/06/slide_anything_pro_product_image.png' /></a></div>";
132
- echo "<h3 style='margin:0px !important; padding:10px 0px !important;'>SLIDE ANYTHING PRO</h3>";
133
- echo "<p style='margin:0px 0px 10px !important;'><strong>SLIDE ANYTHING PRO</strong> adds POPUPS into the mix!!";
134
- echo "<br/><strong>SLIDE ANYTHING PRO</strong> also adds Hero Sliders & Thumbnail Pagination!!</p>";
135
-
136
- echo "<p style='margin:0px 0px 10px !important;'>With <a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
137
- echo "each slide can now open a MODAL POPUP, which can be an IMAGE popup, a VIDEO EMBED popup (YouTube/Vimeo), a popup ";
138
- echo "containing HTML CODE or a popup displaying a WordPress SHORTCODE. This can be a very useful addition to ";
139
- echo "Slide Anything, if you are wanting to create Image or Video galleries for your websites.</p>";
140
- echo "<p style='margin:0px 0px 10px !important;'>With <a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
141
- echo "you can now create a HERO SLIDER, which is a slider that always is 100% of the width/height of the device it's ";
142
- echo "being viewed on. You can now also add THUMBNAIL PAGINATION to your sliders. Thumbnail Pagination are small ";
143
- echo "clickable thumbnail images, with each thumbnail representing a single slide which can be clicked in order to ";
144
- echo "navigate to.</p>";
145
-
146
- echo "<p style='margin:0px !important;'>For more information, click on the DEMO links below:</p>";
147
- echo "<p style='margin:0px !important;'>";
148
- echo "<a href='https://edgewebpages.com/' target='_blank'>MODAL POPUPS DEMO</a>&nbsp;&nbsp;|&nbsp;&nbsp;";
149
- echo "<a href='https://edgewebpages.com/hero-slider-with-thumbnails/' target='_blank'>HERO SLIDER WITH THUMBNAILS</a></p>";
150
-
151
- echo "<div style='clear:both; float:none; width:100%; height:10px;'></div>";
152
- echo "<a style='display:inline-block; float:right; padding:7px 10px; background:crimson; color:white; text-decoration:none; ";
153
- echo "border-radius:5px; font-size:16px;' href='?sa_nag_ignore=0'>Hide this notice</a>";
154
- echo "<div style='clear:both; float:none; width:100%; height:10px;'></div>";
155
 
156
- echo "</div>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
158
  }
159
  function slide_anything_notice_ignore() {
123
  function version_20_upgrade_notice() {
124
  global $current_user ;
125
  $user_id = $current_user->ID;
126
+ $sa_pro_version = validate_slide_anything_pro_registration();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
 
128
+ if (!$sa_pro_version) {
129
+ /* Check that the user hasn't already clicked to ignore the message */
130
+ if (!get_user_meta($user_id, 'sa_ignore_notice')) {
131
+ echo "<div class='notice notice-info' style='padding-top:10px;'>";
132
+
133
+ echo "<div style='float:left; width:170px; margin-right:15px;'><a href='https://edgewebpages.com/' target='_blank'>";
134
+ echo "<img style='width:100%;' src='https://edgewebpages.com/wp-content/uploads/2017/06/slide_anything_pro_product_image.png' /></a></div>";
135
+ echo "<h3 style='margin:0px !important; padding:10px 0px !important;'>SLIDE ANYTHING PRO</h3>";
136
+ echo "<p style='margin:0px 0px 10px !important;'><strong>SLIDE ANYTHING PRO</strong> adds POPUPS into the mix!!";
137
+ echo "<br/><strong>SLIDE ANYTHING PRO</strong> also adds Hero Sliders & Thumbnail Pagination!!</p>";
138
+
139
+ echo "<p style='margin:0px 0px 10px !important;'>With <a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
140
+ echo "each slide can now open a MODAL POPUP, which can be an IMAGE popup, a VIDEO EMBED popup (YouTube/Vimeo), a popup ";
141
+ echo "containing HTML CODE or a popup displaying a WordPress SHORTCODE. This can be a very useful addition to ";
142
+ echo "Slide Anything, if you are wanting to create Image or Video galleries for your websites.</p>";
143
+ echo "<p style='margin:0px 0px 10px !important;'>With <a href='https://edgewebpages.com/' target='_blank'>SLIDE ANYTHING PRO</a> ";
144
+ echo "you can now create a HERO SLIDER, which is a slider that always is 100% of the width/height of the device it's ";
145
+ echo "being viewed on. You can now also add THUMBNAIL PAGINATION to your sliders. Thumbnail Pagination are small ";
146
+ echo "clickable thumbnail images, with each thumbnail representing a single slide which can be clicked in order to ";
147
+ echo "navigate to.</p>";
148
+
149
+ echo "<p style='margin:0px !important;'>For more information, click on the DEMO links below:</p>";
150
+ echo "<p style='margin:0px !important;'>";
151
+ echo "<a href='https://edgewebpages.com/' target='_blank'>MODAL POPUPS DEMO</a>&nbsp;&nbsp;|&nbsp;&nbsp;";
152
+ echo "<a href='https://edgewebpages.com/hero-slider-with-thumbnails/' target='_blank'>HERO SLIDER WITH THUMBNAILS</a></p>";
153
+
154
+ echo "<div style='clear:both; float:none; width:100%; height:10px;'></div>";
155
+ echo "<a style='display:inline-block; float:right; padding:7px 10px; background:crimson; color:white; text-decoration:none; ";
156
+ echo "border-radius:5px; font-size:16px;' href='?sa_nag_ignore=0'>Hide this notice</a>";
157
+ echo "<div style='clear:both; float:none; width:100%; height:10px;'></div>";
158
+
159
+ echo "</div>";
160
+ }
161
  }
162
  }
163
  function slide_anything_notice_ignore() {
readme.txt CHANGED
@@ -269,7 +269,10 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
269
  * Bug Fix - Issue with "Thumbnail Pagination" data being saved on 'Non-PRO' installations - causing a fatal error.
270
 
271
  = 2.2.3 =
272
- * Bug Fix - Resolved small non-fatal issue to remove "Notice: Undefined index: ../php/slide-anything-frontend.php on line 66" message
 
 
 
273
 
274
  == Upgrade Notice ==
275
 
@@ -447,4 +450,7 @@ Adding a SLIDE ANYTHING slider using the WordPress 5.0 'Block Editor' is pretty
447
  * Bug Fix - Issue with "Thumbnail Pagination" data being saved on 'Non-PRO' installations - causing a fatal error.
448
 
449
  = 2.2.3 =
450
- * Bug Fix - Resolved small non-fatal issue to remove "Notice: Undefined index: ../php/slide-anything-frontend.php on line 66" message
 
 
 
269
  * Bug Fix - Issue with "Thumbnail Pagination" data being saved on 'Non-PRO' installations - causing a fatal error.
270
 
271
  = 2.2.3 =
272
+ * Bug Fix - Resolved small non-fatal issue to remove "Notice: Undefined index: ../php/slide-anything-frontend.php on line 66" message.
273
+
274
+ = 2.2.4 =
275
+ * Bug Fix - Do not display the PRO upgrade notice within the WordPress Dashboard if you have already upgraded to the PRO version.
276
 
277
  == Upgrade Notice ==
278
 
450
  * Bug Fix - Issue with "Thumbnail Pagination" data being saved on 'Non-PRO' installations - causing a fatal error.
451
 
452
  = 2.2.3 =
453
+ * Bug Fix - Resolved small non-fatal issue to remove "Notice: Undefined index: ../php/slide-anything-frontend.php on line 66" message.
454
+
455
+ = 2.2.4 =
456
+ * Bug Fix - Do not display the PRO upgrade notice within the WordPress Dashboard if you have already upgraded to the PRO version.
slide-anything.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wordpress.org/plugins/slide-anything/
5
  * Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
6
  * Author: Simon Edge
7
- * Version: 2.2.3
8
  * License: GPLv2 or later
9
  */
10
 
4
  * Plugin URI: https://wordpress.org/plugins/slide-anything/
5
  * Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
6
  * Author: Simon Edge
7
+ * Version: 2.2.4
8
  * License: GPLv2 or later
9
  */
10