Shortcodes and extra features for Phlox theme - Version 2.9.16

Version Description

Download this release

Release Info

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

Code changes from version 2.9.15 to 2.9.16

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, auxin, averta, auxin-elements, framework, widge
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 6.0.0
10
- Stable tag: 2.9.15
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 6.0.0
10
+ Stable tag: 2.9.16
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.9.15 (2022-07)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
1
+ /*! Phlox Core Plugin - v2.9.16 (2022-07)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
admin/includes/admin-ajax.php CHANGED
@@ -120,7 +120,7 @@ function auxin_ajax_isotope_filter_group(){
120
  wp_send_json_error( __( 'Token Error.', 'auxin-elements' ) );
121
  }
122
 
123
- if( false !== update_option( 'aux_isotope_group_' . $_POST['key'] , $_POST['group'] ) ) {
124
  wp_send_json_success( __( 'It\'s Done.', 'auxin-elements' ) );
125
  }
126
 
@@ -302,8 +302,8 @@ function auxin_purchase_activation(){
302
  ) );
303
  }
304
 
305
- $usermail = $_POST['usermail'];
306
- $purchase_code = $_POST['purchase'];
307
  $action = 'activate';
308
 
309
  $result = Auxin_License_Activation::get_instance()->license_action( $usermail, $purchase_code, $action );
120
  wp_send_json_error( __( 'Token Error.', 'auxin-elements' ) );
121
  }
122
 
123
+ if( false !== update_option( 'aux_isotope_group_' . auxin_sanitize_input( $_POST['key'] ) , auxin_sanitize_input( $_POST['group'] ) ) ) {
124
  wp_send_json_success( __( 'It\'s Done.', 'auxin-elements' ) );
125
  }
126
 
302
  ) );
303
  }
304
 
305
+ $usermail = sanitize_email( $_POST['usermail'] );
306
+ $purchase_code = auxin_sanitize_input( $_POST['purchase'] );
307
  $action = 'activate';
308
 
309
  $result = Auxin_License_Activation::get_instance()->license_action( $usermail, $purchase_code, $action );
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: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
- * Version: 2.9.15
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: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
+ * Version: 2.9.16
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
embeds/plugins/auxin-fonts.zip DELETED
Binary file
includes/classes/class-auxin-welcome-sections.php CHANGED
@@ -311,7 +311,7 @@ class Auxin_Welcome_Sections {
311
  $changelog_remote = $this->get_remote_changelog( $theme_id );
312
 
313
  if( is_wp_error( $changelog_remote ) ){
314
- echo $changelog_remote->get_error_message();
315
  return;
316
  } else {
317
  $changelog_info = $changelog_remote;
311
  $changelog_remote = $this->get_remote_changelog( $theme_id );
312
 
313
  if( is_wp_error( $changelog_remote ) ){
314
+ echo wp_kses_post( $changelog_remote->get_error_message() );
315
  return;
316
  } else {
317
  $changelog_info = $changelog_remote;
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.9.15' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.9.16' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/general-functions.php CHANGED
@@ -1192,7 +1192,7 @@ function auxin_print_script_object( $object_name, $object_value = array() ){
1192
  $script = sprintf( 'var %1$s=%2$s;', esc_js( $object_name ), wp_json_encode( $object_value ) );
1193
  }
1194
 
1195
- echo $script ? '<script>'. $script .'</script>' : '';
1196
  }
1197
 
1198
  /*-----------------------------------------------------------------------------------*/
1192
  $script = sprintf( 'var %1$s=%2$s;', esc_js( $object_name ), wp_json_encode( $object_value ) );
1193
  }
1194
 
1195
+ echo $script ? '<script>'. wp_kses_post( $script ) .'</script>' : '';
1196
  }
1197
 
1198
  /*-----------------------------------------------------------------------------------*/
languages/auxin-elements-fa_IR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Auxin Essential Elements\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
- "POT-Creation-Date: 2022-07-20 05:59:39+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
2
  msgstr ""
3
  "Project-Id-Version: Auxin Essential Elements\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
+ "POT-Creation-Date: 2022-07-21 15:59:37+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
languages/auxin-elements.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2022}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Core Elements 2.9.15\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2022-07-20 05:59:39+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
1
  # Averta Copyright (c) {2022}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.9.16\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2022-07-21 15:59:37+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.9.15 (2022-07)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.9.16 (2022-07)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */