Changeset 2211854
- Timestamp:
- 12/13/2019 09:58:44 PM (6 years ago)
- Location:
- echelon-so/trunk
- Files:
-
- 2 edited
-
echelon-so.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
echelon-so/trunk/echelon-so.php
r2210468 r2211854 5 5 Plugin URI: https://echelonso.com 6 6 Description: UIkit powered widgets, features and presets for SiteOrigin Page Builder. 7 Version: 2.0. 57 Version: 2.0.6 8 8 Author: Echelon 9 9 Author URI: https://echelonso.com … … 19 19 20 20 define('ECHELONSO', true); 21 define('ECHELONSO_VERSION', '2.0. 5');21 define('ECHELONSO_VERSION', '2.0.6'); 22 22 23 23 register_activation_hook( __FILE__, array( 'EchelonSO', 'install' ) ); … … 93 93 94 94 public function current_version() { 95 return '2.0. 5';95 return '2.0.6'; 96 96 } 97 97 … … 155 155 add_filter( 'siteorigin_widgets_field_class_prefixes', array($this, 'widget_fields_class_prefixes') ); 156 156 add_filter( 'siteorigin_widgets_field_class_paths', array($this, 'widget_fields_class_paths') ); 157 // $this->keep_teasers();158 157 159 158 if (class_exists('ACF')) { … … 166 165 } 167 166 168 if (is_admin()) { 169 // check for version mismatch 170 if ( defined('ECHELONSO_VERSION') && defined('ECHELONSO_PRIME_VERSION') ) { 171 if (ECHELONSO_VERSION != ECHELONSO_PRIME_VERSION) { 172 add_action( 'admin_notices', array($this, 'version_mismatch_error') ); 173 } 174 } 175 if (!defined('ECHELONSO_PRIME_VERSION')) { 176 add_action( 'admin_notices', array($this, 'version_mismatch_error') ); 177 } 178 } 179 180 } 181 182 /* 183 * Not paying means you see the adverts 184 */ 185 186 // private function keep_teasers() { 187 // if ( !defined('ECHELONSO_PRIME') && is_admin() ) { 188 // $dismissed = get_user_meta( get_current_user_id(), 'teasers_dismissed', true ); 189 // $remove_keys = $this->get_widget_base_ids(); 190 // foreach($remove_keys as $k) { 191 // unset($dismissed[$k]); 192 // } 193 // update_user_meta( get_current_user_id(), 'teasers_dismissed', $dismissed ); 194 // } 195 // } 167 } 196 168 197 169 /* … … 556 528 } 557 529 558 public function version_mismatch_error() {559 define('ECHELONSO_VERSION_MISMATCH', true);560 echo '<div class="notice notice-error"><p>Please update your plugins <strong>Echelon UIkit for SiteOrigin</strong> and <strong>Echelon UIkit for SiteOrigin Prime Upgrade</strong> to the latest versions.</p></div>';561 }562 563 530 /* 564 531 * Form Teaser -
echelon-so/trunk/readme.txt
r2210469 r2211854 11 11 12 12 == Description == 13 Echelon combines the web's best frontend framework (UIkit) with SiteOrigin's ease of use to create premium level pages at unbelieable speeds. We have included over 30 widgets, 15 core features and a library of over 240 ready to use interface blocks, making the theunparalled frontend power of UIkit available to anyone who can use SiteOrigin Page Builder.13 Echelon combines the web's best frontend framework (UIkit) with SiteOrigin's ease of use to create premium level pages at unbelieable speeds. We have included over 30 widgets, 15 core features and a library of over 240 ready to use interface blocks, making the unparalled frontend power of UIkit available to anyone who can use SiteOrigin Page Builder. 14 14 15 15 A word of caution, UIkit is highly addictive, once you start using UIkit you may find it hard to stop. … … 107 107 == Changelog == 108 108 109 = 2.0.6 = 110 * Fixed: Some admin notificaitons displaying when they shouldn't. 111 109 112 = 2.0.5 = 110 113 * Fixed: Missing field descriptions for Before & After widget.
Note: See TracChangeset
for help on using the changeset viewer.