Shortcodes and extra features for Phlox theme - Version 1.4.0

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Shortcodes and extra features for Phlox theme
Version 1.4.0
Comparing to
See all releases

Code changes from version 1.3.14 to 1.4.0

README.txt CHANGED
@@ -4,9 +4,9 @@ Donate link: http://averta.net/
4
  License: GPLv3
5
  License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: banner SEO, shortcode, page-builder, siteorigin, auxin, phlox, averta, framework, widget, element, fullwidth, masonry, timeline
7
- Requires at least: 4.4
8
- Tested up to: 4.7.3
9
- Stable tag: 1.3.14
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl.html
12
 
@@ -140,7 +140,7 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-ele
140
 
141
  == Changelog ==
142
 
143
- = Version 1.3.14 / (01.08.2017) =
144
  - [Improvement]: Applying some changes based on latest changes in auxin framework
145
 
146
  = Version 1.3.10 / (21.06.2017) =
@@ -197,6 +197,6 @@ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-ele
197
 
198
  == Upgrade Notice ==
199
 
200
- = 1.3.14 =
201
  - [Improvement]: Applying some changes based on latest changes in auxin framework
202
 
4
  License: GPLv3
5
  License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: banner SEO, shortcode, page-builder, siteorigin, auxin, phlox, averta, framework, widget, element, fullwidth, masonry, timeline
7
+ Requires at least: 4.6
8
+ Tested up to: 4.8.0
9
+ Stable tag: 1.4.0
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl.html
12
 
140
 
141
  == Changelog ==
142
 
143
+ = Version 1.4.0 / (02.08.2017) =
144
  - [Improvement]: Applying some changes based on latest changes in auxin framework
145
 
146
  = Version 1.3.10 / (21.06.2017) =
197
 
198
  == Upgrade Notice ==
199
 
200
+ = 1.4.0 =
201
  - [Improvement]: Applying some changes based on latest changes in auxin framework
202
 
admin/includes/index.php CHANGED
@@ -17,10 +17,8 @@ Auxin_Master_Nav_Menu_Admin::get_instance();
17
  function auxin_init_permalinks( ){
18
  $aux_permalink = new Auxin_Permalink();
19
  $aux_permalink->setup();
 
 
 
20
  }
21
  add_action( 'auxin_ready', 'auxin_init_permalinks' );
22
-
23
- // init Auxin_Install
24
- // init Auxin_Admin_Dashboard
25
- // init Auxin_Import
26
- // init
17
  function auxin_init_permalinks( ){
18
  $aux_permalink = new Auxin_Permalink();
19
  $aux_permalink->setup();
20
+
21
+ new Auxin_Install();
22
+ new Auxin_Admin_Dashboard();
23
  }
24
  add_action( 'auxin_ready', 'auxin_init_permalinks' );
 
 
 
 
 
auxin-elements.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Powerful and comprehensive plugin that extends the functionality of Phlox theme by adding new shortcodes, widgets and options
15
- * Version: 1.3.14
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Powerful and comprehensive plugin that extends the functionality of Phlox theme by adding new shortcodes, widgets and options
15
+ * Version: 1.4.0
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/classes/class-auxin-install.php CHANGED
@@ -21,6 +21,8 @@ class Auxin_Install {
21
 
22
  // Add theme capabilities on theme activation
23
  add_action( 'after_switch_theme', array( $this, 'install' ) );
 
 
24
  }
25
 
26
 
21
 
22
  // Add theme capabilities on theme activation
23
  add_action( 'after_switch_theme', array( $this, 'install' ) );
24
+ // will be @deprecated in version 2.0
25
+ add_action( 'init', array( $this, 'install' ) );
26
  }
27
 
28
 
includes/classes/class-auxin-plugin-requirements.php CHANGED
@@ -77,10 +77,11 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
77
  $the_notice .= '<ul><li>'. $notices . '</li></ul></p>';
78
  }
79
 
80
- if( $this->requirements['config']['debug'] ){
81
  $active_plugins = get_option( 'active_plugins' );
82
  $the_notice .= "<pre>"; $the_notice .= print_r( $active_plugins, true ); $the_notice .= "</pre>";
83
  }
 
84
  return $the_notice;
85
  }
86
 
@@ -279,6 +280,20 @@ if( ! class_exists( 'Auxin_Plugin_Requirements' ) ){
279
  '<strong>'. $theme_requirement['name'] . '</strong>'
280
  );
281
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
  $this->requirements_passed = false;
283
  return;
284
 
77
  $the_notice .= '<ul><li>'. $notices . '</li></ul></p>';
78
  }
79
 
80
+ if( $this->requirements['config']['debug'] || ( defined( 'AUXIN_DEBUG' ) && AUXIN_DEBUG ) ){
81
  $active_plugins = get_option( 'active_plugins' );
82
  $the_notice .= "<pre>"; $the_notice .= print_r( $active_plugins, true ); $the_notice .= "</pre>";
83
  }
84
+
85
  return $the_notice;
86
  }
87
 
280
  '<strong>'. $theme_requirement['name'] . '</strong>'
281
  );
282
 
283
+ if( defined( 'AUXIN_DEBUG' ) && AUXIN_DEBUG ){
284
+ if( ! empty( $theme_requirement['file_exists'] ) ){
285
+ $this->admin_notices[] = sprintf(
286
+ __( '%s path while checking the availability of theme not found.', 'auxin-elements' ),
287
+ '<code>'. $theme_requirement['file_exists'] . '</code>'
288
+ );
289
+ } elseif( ! empty( $theme_requirement['is_callable'] ) ){
290
+ $this->admin_notices[] = sprintf(
291
+ __( '%s function callback while checking the availability of theme not found.', 'auxin-elements' ),
292
+ '<code>'. $theme_requirement['file_exists'] . '</code>'
293
+ );
294
+ }
295
+ }
296
+
297
  $this->requirements_passed = false;
298
  return;
299
 
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '1.3.14' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '1.4.0' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18