Livemesh SiteOrigin Widgets - Version 1.4.4

Version Description

  • Fixed - Admin notices were being removed due to a missing conditional statement.
Download this release

Release Info

Developer livemesh
Plugin Icon 128x128 Livemesh SiteOrigin Widgets
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.4

admin/admin-init.php CHANGED
@@ -17,7 +17,6 @@ class LSOW_Admin {
17
 
18
  }
19
 
20
-
21
  public function includes() {
22
 
23
  // load class admin ajax function
@@ -27,18 +26,24 @@ class LSOW_Admin {
27
 
28
  public function init_hooks() {
29
 
30
- // remove admin notices
31
- add_action('admin_notices', array(&$this, 'remove_notices_start'));
32
- add_action('admin_notices', array(&$this, 'remove_notices_end'), 999);
33
-
34
  // Build admin menu/pages
35
  add_action('admin_menu', array($this, 'add_plugin_admin_menu'));
36
 
37
  // Load admin style sheet and JavaScript.
38
  add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
39
 
 
 
40
  }
41
 
 
 
 
 
 
 
 
 
42
 
43
  public function remove_notices_start() {
44
 
@@ -135,7 +140,7 @@ class LSOW_Admin {
135
  // get current admin screen
136
  $screen = get_current_screen();
137
 
138
- // if screen is a part of The Grid plugin page
139
  if (strpos($screen->id, $this->plugin_slug) !== false) {
140
 
141
  wp_enqueue_script('jquery-ui-datepicker');
17
 
18
  }
19
 
 
20
  public function includes() {
21
 
22
  // load class admin ajax function
26
 
27
  public function init_hooks() {
28
 
 
 
 
 
29
  // Build admin menu/pages
30
  add_action('admin_menu', array($this, 'add_plugin_admin_menu'));
31
 
32
  // Load admin style sheet and JavaScript.
33
  add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
34
 
35
+ add_action('current_screen', array($this, 'remove_admin_notices'));
36
+
37
  }
38
 
39
+ public function remove_admin_notices($screen) {
40
+
41
+ // If this screen is Livemesh SiteOrigin Widgets plugin options page, remove annoying admin notices
42
+ if (strpos($screen->id, $this->plugin_slug) !== false) {
43
+ add_action('admin_notices', array(&$this, 'remove_notices_start'));
44
+ add_action('admin_notices', array(&$this, 'remove_notices_end'), 999);
45
+ }
46
+ }
47
 
48
  public function remove_notices_start() {
49
 
140
  // get current admin screen
141
  $screen = get_current_screen();
142
 
143
+ // If screen is a part of Livemesh SiteOrigin Widgets plugin options page
144
  if (strpos($screen->id, $this->plugin_slug) !== false) {
145
 
146
  wp_enqueue_script('jquery-ui-datepicker');
admin/views/documentation.php CHANGED
@@ -1249,6 +1249,12 @@ else {
1249
  <!-- Updates panel -->
1250
  <div id="updates-panel" class="panel-left">
1251
 
 
 
 
 
 
 
1252
  <h4>1.4.3</h4>
1253
 
1254
  <ul>
@@ -1324,7 +1330,7 @@ else {
1324
  <div class="panel-inner">
1325
 
1326
  <div class="panel-aside banner">
1327
- <a href="https://gumroad.com/l/kGTBN" title="Purchase Now"><img class="dashboard-image"
1328
  src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-banner1.jpg"
1329
  alt="Sale Banner"></a>
1330
  </div>
1249
  <!-- Updates panel -->
1250
  <div id="updates-panel" class="panel-left">
1251
 
1252
+ <h4>1.4.4</h4>
1253
+
1254
+ <ul>
1255
+ <li>Fixed - Admin notices were being removed due to a missing conditonal statement.</li>
1256
+ </ul>
1257
+
1258
  <h4>1.4.3</h4>
1259
 
1260
  <ul>
1330
  <div class="panel-inner">
1331
 
1332
  <div class="panel-aside banner">
1333
+ <a href="https://gum.co/kGTBN/save10" title="Purchase Now"><img class="dashboard-image"
1334
  src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-banner1.jpg"
1335
  alt="Sale Banner"></a>
1336
  </div>
admin/views/premium-upgrade.php CHANGED
@@ -35,8 +35,8 @@ $plugin = get_plugin_data(LSOW_PLUGIN_FILE);
35
  <div class="plan plan2 flex-col">
36
  <div class="w100 clear"><h3>Premium</h3>
37
  <p class="mb20 text">More features and additional widgets to build a professional website without switching your WP theme.</p>
38
- <h4 class="b price c-wh">$39</h4>
39
- <div class="action clear"><a href="https://gumroad.com/l/kGTBN" class="btn center bg-cy">Purchase Now</a></div>
40
  </div>
41
  </div>
42
  </div>
@@ -392,7 +392,7 @@ $plugin = get_plugin_data(LSOW_PLUGIN_FILE);
392
  </div>
393
  </li>
394
  </ul>
395
- <div class="action clear"><a href="https://gumroad.com/l/kGTBN" class="btn center bg-cy">Purchase Now</a></div>
396
  </div>
397
  </div>
398
  </div>
@@ -405,7 +405,7 @@ $plugin = get_plugin_data(LSOW_PLUGIN_FILE);
405
 
406
  <div class="button-wrap">
407
 
408
- <a href="https://gumroad.com/l/kGTBN" title="Purchase Now">
409
 
410
  <img class="button-image" src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-button.png" alt="Purchase Button">
411
 
@@ -529,7 +529,7 @@ $plugin = get_plugin_data(LSOW_PLUGIN_FILE);
529
 
530
  <div class="button-wrap">
531
 
532
- <a class="button-wrap" href="https://gumroad.com/l/kGTBN" title="Purchase Now">
533
 
534
  <img class="button-image" style="border:none" src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-button.png" alt="Purchase Button">
535
 
@@ -544,7 +544,7 @@ $plugin = get_plugin_data(LSOW_PLUGIN_FILE);
544
  <div class="panel-inner">
545
 
546
  <div class="panel-aside banner">
547
- <a href="https://gumroad.com/l/kGTBN" title="Purchase Now"><img class="dashboard-image" src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-banner2.jpg" alt="Sale Banner"></a>
548
  </div>
549
 
550
  <!-- Knowledge base -->
35
  <div class="plan plan2 flex-col">
36
  <div class="w100 clear"><h3>Premium</h3>
37
  <p class="mb20 text">More features and additional widgets to build a professional website without switching your WP theme.</p>
38
+ <h4 class="b price c-wh">$29</h4>
39
+ <div class="action clear"><a href="https://gum.co/kGTBN/save10" class="btn center bg-cy">Purchase Now</a></div>
40
  </div>
41
  </div>
42
  </div>
392
  </div>
393
  </li>
394
  </ul>
395
+ <div class="action clear"><a href="https://gum.co/kGTBN/save10" class="btn center bg-cy">Purchase Now</a></div>
396
  </div>
397
  </div>
398
  </div>
405
 
406
  <div class="button-wrap">
407
 
408
+ <a href="https://gum.co/kGTBN/save10" title="Purchase Now">
409
 
410
  <img class="button-image" src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-button.png" alt="Purchase Button">
411
 
529
 
530
  <div class="button-wrap">
531
 
532
+ <a class="button-wrap" href="https://gum.co/kGTBN/save10" title="Purchase Now">
533
 
534
  <img class="button-image" style="border:none" src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-button.png" alt="Purchase Button">
535
 
544
  <div class="panel-inner">
545
 
546
  <div class="panel-aside banner">
547
+ <a href="https://gum.co/kGTBN/save10" title="Purchase Now"><img class="dashboard-image" src="http://portfoliotheme.org/wp-content/uploads/plugin-doc/livemesh-widgets/dashboard/purchase-banner2.jpg" alt="Sale Banner"></a>
548
  </div>
549
 
550
  <!-- Knowledge base -->
admin/views/settings.php CHANGED
@@ -248,7 +248,7 @@ $custom_css = lsow_get_option('lsow_custom_css', '');
248
 
249
  <div class="lsow-spacer" style="height: 15px"></div>
250
 
251
- <a class="lsow-button purchase" href="https://gumroad.com/l/kGTBN"><i class="dashicons dashicons-cart"></i><?php echo __('Purchase Now', 'livemesh-so-widgets'); ?></a>
252
 
253
  <div class="lsow-spacer" style="height: 25px"></div>
254
 
248
 
249
  <div class="lsow-spacer" style="height: 15px"></div>
250
 
251
+ <a class="lsow-button purchase" href="https://gum.co/kGTBN/save10"><i class="dashicons dashicons-cart"></i><?php echo __('Purchase Now', 'livemesh-so-widgets'); ?></a>
252
 
253
  <div class="lsow-spacer" style="height: 25px"></div>
254
 
livemesh-so-widgets.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author URI: http://portfoliotheme.org/
8
  * License: GPL3
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
- * Version: 1.4.3
11
  * Text Domain: livemesh-so-widgets
12
  * Domain Path: languages
13
  *
@@ -92,7 +92,7 @@ if (!class_exists('Livemesh_SiteOrigin_Widgets')) :
92
 
93
  // Plugin version
94
  if (!defined('LSOW_VERSION')) {
95
- define('LSOW_VERSION', '1.4.3');
96
  }
97
 
98
  // Plugin Folder Path
7
  * Author URI: http://portfoliotheme.org/
8
  * License: GPL3
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
10
+ * Version: 1.4.4
11
  * Text Domain: livemesh-so-widgets
12
  * Domain Path: languages
13
  *
92
 
93
  // Plugin version
94
  if (!defined('LSOW_VERSION')) {
95
+ define('LSOW_VERSION', '1.4.4');
96
  }
97
 
98
  // Plugin Folder Path
readme.txt CHANGED
@@ -5,7 +5,7 @@ Contributors: livemesh
5
  Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin addons, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
6
  Requires at least: 4.1
7
  Tested up to: 4.6
8
- Stable Tag: 1.4.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -112,6 +112,9 @@ Pls install and activate the <a href="https://wordpress.org/plugins/portfolio-po
112
 
113
  == Changelog ==
114
 
 
 
 
115
  = 1.4.3 =
116
  * Fixed - Top padding and bottom padding field for various resolutions.
117
 
5
  Tags: widget, siteorigin, siteorigin widgets bundle, siteorigin page builder, siteorigin addons, grid, gallery, video background, portfolio, carousel, shortcode, tabs, admin, plugin, page
6
  Requires at least: 4.1
7
  Tested up to: 4.6
8
+ Stable Tag: 1.4.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
112
 
113
  == Changelog ==
114
 
115
+ = 1.4.4 =
116
+ * Fixed - Admin notices were being removed due to a missing conditional statement.
117
+
118
  = 1.4.3 =
119
  * Fixed - Top padding and bottom padding field for various resolutions.
120