Shortcodes and extra features for Phlox theme - Version 2.9.14

Version Description

Download this release

Release Info

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

Code changes from version 2.9.12 to 2.9.14

Files changed (52) hide show
  1. README.txt +1 -1
  2. admin/assets/js/elementor/widgets.js +5 -0
  3. admin/assets/js/plugins.js +1 -1
  4. admin/includes/admin-ajax.php +6 -11
  5. admin/includes/admin-hooks.php +0 -23
  6. admin/includes/classes/class-auxin-upgrader-prepare.php +0 -39
  7. auxin-elements.php +1 -1
  8. includes/classes/class-auxels-import.php +1 -2
  9. includes/classes/class-auxin-demo-importer.php +10 -9
  10. includes/classes/class-auxin-master-nav-menu-admin.php +1 -1
  11. includes/classes/class-auxin-permalink.php +3 -3
  12. includes/classes/class-auxin-welcome.php +4 -4
  13. includes/define.php +1 -1
  14. includes/elementor/class-auxin-elementor-core-elements.php +1 -1
  15. includes/elementor/modules/dynamic-tags/archive-url.php +1 -1
  16. includes/elementor/modules/dynamic-tags/contact-url.php +1 -1
  17. includes/elementor/modules/dynamic-tags/featured-colors.php +1 -1
  18. includes/elementor/modules/dynamic-tags/login-url.php +1 -1
  19. includes/elementor/modules/dynamic-tags/pages-url.php +1 -1
  20. includes/elementor/modules/dynamic-tags/posts-url.php +1 -1
  21. includes/elementor/modules/dynamic-tags/request-parameter.php +1 -1
  22. includes/elementor/modules/dynamic-tags/shortcode.php +1 -16
  23. includes/elementor/modules/dynamic-tags/taxonomies-url.php +1 -1
  24. includes/elementor/modules/theme-builder/classes/locations-manager.php +2 -2
  25. includes/elementor/widgets/before-after.php +3 -3
  26. includes/elementor/widgets/heading-modern.php +3 -3
  27. includes/elementor/widgets/icon.php +2 -2
  28. includes/elementor/widgets/responsive-table.php +1 -1
  29. includes/elementor/widgets/svg.php +1 -1
  30. includes/elementor/widgets/tabs.php +0 -4
  31. includes/elementor/widgets/theme-elements/logo.php +1 -1
  32. includes/elementor/widgets/theme-elements/menu.php +4 -4
  33. includes/elementor/widgets/theme-elements/modern-search.php +1 -1
  34. includes/elements/contact-box.php +3 -3
  35. includes/elements/contact-form.php +4 -4
  36. includes/elements/gmap.php +1 -1
  37. includes/elements/image.php +1 -1
  38. includes/elements/latest-items.php +1 -1
  39. includes/elements/recent-posts-grid-carousel.php +2 -2
  40. includes/elements/recent-products.php +1 -6
  41. includes/elements/staff.php +1 -1
  42. includes/elements/tabs.php +1 -1
  43. includes/elements/testimonial.php +1 -1
  44. includes/elements/text.php +4 -4
  45. includes/general-functions.php +32 -4
  46. includes/general-hooks.php +24 -4
  47. includes/general-shortcodes.php +3 -3
  48. languages/auxin-elements-fa_IR.po +60 -64
  49. languages/auxin-elements.pot +61 -65
  50. public/assets/js/plugins.js +1 -1
  51. public/class-auxels.php +1 -1
  52. public/includes/frontend-ajax.php +5 -23
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.12
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.14
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
admin/assets/js/elementor/widgets.js CHANGED
@@ -78,6 +78,11 @@
78
  });
79
  });
80
 
 
 
 
 
 
81
  }
82
 
83
  });
78
  });
79
  });
80
 
81
+ elementorFrontend.hooks.addAction( 'frontend/element_ready/aux_products_parallax.default', function( $scope ) {
82
+ $scope.find('.aux-product-parallax-wrapper').AuxinMasonryAnimate();
83
+ $(window).trigger('resize');
84
+ });
85
+
86
  }
87
 
88
  });
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.9.12 (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.14 (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
@@ -7,13 +7,12 @@ function auxin_ajax_send_feedback(){
7
  wp_send_json_error( __( 'Data cannot be delivered, please try again.', 'auxin-elements' ) );
8
  }
9
 
10
- $form_data = $_POST['form'];
11
 
12
  // extract the form data
13
- $rate = ( ! empty( $form_data['theme_rate'] ) || $form_data['theme_rate'] === '0' ) ? sanitize_text_field( $form_data['theme_rate'] ) : '';
14
- $feedback = ! empty( $form_data['feedback'] ) ? sanitize_text_field( $form_data['feedback'] ) : '';
15
- $email = ! empty( $form_data['email'] ) ? sanitize_email( $form_data['email'] ) : '';
16
- $nonce = ! empty( $form_data['_wpnonce'] ) ? $form_data['_wpnonce'] : '';
17
 
18
  if( ! wp_verify_nonce( $nonce, 'phlox_feedback' ) ){
19
  wp_send_json_error( __( 'Authorization failed!', 'auxin-elements' ) );
@@ -74,9 +73,7 @@ function auxin_remove_feedback_notice() {
74
  wp_send_json_error( __( 'Data cannot be delivered, please try again.', 'auxin-elements' ) );
75
  }
76
 
77
- $form_data = $_POST['form'];
78
-
79
- $nonce = ! empty( $form_data['_wpnonce'] ) ? $form_data['_wpnonce'] : '';
80
 
81
  if( ! wp_verify_nonce( $nonce, 'phlox_feedback' ) ){
82
  wp_send_json_error( __( 'Authorization failed!', 'auxin-elements' ) );
@@ -100,9 +97,7 @@ function auxin_ajax_remind_feedback() {
100
  wp_send_json_error( __( 'Data cannot be delivered, please try again.', 'auxin-elements' ) );
101
  }
102
 
103
- $form_data = $_POST['form'];
104
-
105
- $nonce = ! empty( $form_data['_wpnonce'] ) ? $form_data['_wpnonce'] : '';
106
 
107
  if( ! wp_verify_nonce( $nonce, 'phlox_feedback' ) ){
108
  wp_send_json_error( __( 'Authorization failed!', 'auxin-elements' ) );
7
  wp_send_json_error( __( 'Data cannot be delivered, please try again.', 'auxin-elements' ) );
8
  }
9
 
 
10
 
11
  // extract the form data
12
+ $rate = ( ! empty( $_POST['form']['theme_rate'] ) || $_POST['form']['theme_rate'] === '0' ) ? sanitize_text_field( $_POST['form']['theme_rate'] ) : '';
13
+ $feedback = ! empty( $_POST['form']['feedback'] ) ? sanitize_text_field( $_POST['form']['feedback'] ) : '';
14
+ $email = ! empty( $_POST['form']['email'] ) ? sanitize_email( $_POST['form']['email'] ) : '';
15
+ $nonce = ! empty( $_POST['form']['_wpnonce'] ) ? sanitize_text_field( $_POST['form']['_wpnonce'] ) : '';
16
 
17
  if( ! wp_verify_nonce( $nonce, 'phlox_feedback' ) ){
18
  wp_send_json_error( __( 'Authorization failed!', 'auxin-elements' ) );
73
  wp_send_json_error( __( 'Data cannot be delivered, please try again.', 'auxin-elements' ) );
74
  }
75
 
76
+ $nonce = ! empty( $_POST['form']['_wpnonce'] ) ? sanitize_text_field( $_POST['form']['_wpnonce'] ) : '';
 
 
77
 
78
  if( ! wp_verify_nonce( $nonce, 'phlox_feedback' ) ){
79
  wp_send_json_error( __( 'Authorization failed!', 'auxin-elements' ) );
97
  wp_send_json_error( __( 'Data cannot be delivered, please try again.', 'auxin-elements' ) );
98
  }
99
 
100
+ $nonce = ! empty( $_POST['form']['_wpnonce'] ) ? sanitize_text_field( $_POST['form']['_wpnonce'] ) : '';
 
 
101
 
102
  if( ! wp_verify_nonce( $nonce, 'phlox_feedback' ) ){
103
  wp_send_json_error( __( 'Authorization failed!', 'auxin-elements' ) );
admin/includes/admin-hooks.php CHANGED
@@ -66,29 +66,6 @@ function auxin_register_mce_buttons_style(){
66
  }
67
  add_action('admin_enqueue_scripts', 'auxin_register_mce_buttons_style');
68
 
69
- /*-----------------------------------------------------------------------------------*/
70
- /* Adding a plugin to plugin recommendation list
71
- /*-----------------------------------------------------------------------------------*/
72
-
73
- function auxels_plugin_register_recommended_plugins() {
74
-
75
- if( is_rtl() ){
76
- $plugins = array(
77
- array(
78
- 'name' => __('Phlox RTL Fonts', 'auxin-elements'),
79
- 'slug' => 'auxin-fonts',
80
- 'version' => '1.0.0',
81
- 'source' => AUXELS_DIR . '/embeds/plugins/auxin-fonts.zip', // The "internal" source of the plugin.
82
- 'required' => false
83
- )
84
- );
85
- tgmpa( $plugins );
86
- }
87
-
88
- }
89
-
90
- add_action( 'tgmpa_register', 'auxels_plugin_register_recommended_plugins', 12 );
91
-
92
  /*-----------------------------------------------------------------------------------*/
93
  /* Adds subtitle meta field to 'Title setting' tab
94
  /*-----------------------------------------------------------------------------------*/
66
  }
67
  add_action('admin_enqueue_scripts', 'auxin_register_mce_buttons_style');
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  /*-----------------------------------------------------------------------------------*/
70
  /* Adds subtitle meta field to 'Title setting' tab
71
  /*-----------------------------------------------------------------------------------*/
admin/includes/classes/class-auxin-upgrader-prepare.php CHANGED
@@ -14,8 +14,6 @@ class Auxin_Upgrader_Prepare {
14
  );
15
 
16
  public function __construct(){
17
- add_filter( 'site_transient_update_plugins', array( $this, 'disable_update_plugins' ) );
18
- add_filter( 'site_transient_update_themes', array( $this, 'disable_update_themes' ) );
19
 
20
  add_action( 'load-plugins.php', array( $this, 'update_plugins' ) );
21
  add_action( 'load-update.php', array( $this, 'update_plugins' ) );
@@ -30,43 +28,6 @@ class Auxin_Upgrader_Prepare {
30
  add_action( 'admin_init', array( $this, 'maybe_update_list' ) );
31
  }
32
 
33
- /**
34
- * Remove auxin plugins from wp auto update
35
- *
36
- * @return object
37
- */
38
- public function disable_update_plugins( $transient ) {
39
- // Pass plugins list with their slug e.g. array( 'auxin-elements' )
40
- $plugins = apply_filters( 'auxin_disable_plugins_updates', array() );
41
- if ( isset($transient) && is_object($transient) && ! empty( $plugins ) ) {
42
- foreach ( $plugins as $key => $plugin ) {
43
- $plugin_path = $plugin . '/' . $plugin . '.php';
44
- if ( isset( $transient->response[$plugin_path] ) ) {
45
- unset( $transient->response[$plugin_path] );
46
- }
47
- }
48
- }
49
- return $transient;
50
- }
51
-
52
- /**
53
- * Remove auxin themes from wp auto update
54
- *
55
- * @return object
56
- */
57
- public function disable_update_themes( $transient ) {
58
- // Pass themes list with their slug e.g. array( 'phlox' )
59
- $themes = apply_filters( 'auxin_disable_themes_updates', array() );
60
- if ( isset($transient) && is_object($transient) && ! empty( $themes ) ) {
61
- foreach ( $themes as $theme ) {
62
- if ( isset( $transient->response[ $theme ] ) ) {
63
- unset( $transient->response[ $theme ] );
64
- }
65
- }
66
- }
67
- return $transient;
68
- }
69
-
70
  /**
71
  * Check theme versions against the latest versions hosted on WordPress.org. & Averta API
72
  *
14
  );
15
 
16
  public function __construct(){
 
 
17
 
18
  add_action( 'load-plugins.php', array( $this, 'update_plugins' ) );
19
  add_action( 'load-update.php', array( $this, 'update_plugins' ) );
28
  add_action( 'admin_init', array( $this, 'maybe_update_list' ) );
29
  }
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  /**
32
  * Check theme versions against the latest versions hosted on WordPress.org. & Averta API
33
  *
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.12
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.14
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/classes/class-auxels-import.php CHANGED
@@ -64,8 +64,7 @@ class Auxels_Import {
64
  $options_ref = $this->get_export_option_list();
65
 
66
  foreach ( $options_ref as $option_export_name => $option_import_name ) {
67
- $sql = $wpdb->prepare("SELECT option_name, option_value FROM $wpdb->options WHERE option_name = %s", $option_import_name );
68
- $result = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
69
 
70
  if( ! empty( $result[0]->option_value ) ){
71
  ?>
64
  $options_ref = $this->get_export_option_list();
65
 
66
  foreach ( $options_ref as $option_export_name => $option_import_name ) {
67
+ $result = $wpdb->get_results( $wpdb->prepare("SELECT option_name, option_value FROM $wpdb->options WHERE option_name = %s", $option_import_name ) );
 
68
 
69
  if( ! empty( $result[0]->option_value ) ){
70
  ?>
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -66,11 +66,11 @@ class Auxin_Demo_Importer {
66
  }
67
 
68
  $data = false;
69
- $template_ID = isset( $_POST['ID'] ) ? $_POST['ID'] : '';
70
- $template_type = isset( $_POST['type'] ) ? $_POST['type'] : '';
71
- $page_template = isset( $_POST['tmpl'] ) ? $_POST['tmpl'] : '';
72
- $template_title = isset( $_POST['title'] ) ? $_POST['title'] : 'PHLOX #' . $template_ID;
73
- $template_status = isset( $_POST['status'] ) ? $_POST['status'] : 'import';
74
  $template_data_key = sanitize_key( "auxin_template_kit_{$template_type}_data_for_origin_id_{$template_ID}" );
75
 
76
  if( $template_status === 'copy' && false !== ( $data = auxin_get_transient( $template_data_key ) ) ) {
@@ -218,7 +218,7 @@ class Auxin_Demo_Importer {
218
 
219
  if ( $data['success'] ) {
220
 
221
- $get_options = $_POST['options'];
222
  foreach ( $get_options as $key => $value ) {
223
  $options[ $value['name'] ] = $value['value'];
224
  }
@@ -1681,9 +1681,7 @@ class Auxin_Demo_Importer {
1681
 
1682
  global $wpdb;
1683
 
1684
- $sql = $wpdb->prepare("SELECT post_id FROM $wpdb->postmeta WHERE meta_key=%s AND meta_value=%s", [ $key, $value ] );
1685
-
1686
- $meta = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
1687
 
1688
  if ( is_array($meta) && !empty($meta) && isset($meta[0]) ) {
1689
  $meta = $meta[0];
@@ -2079,6 +2077,9 @@ class Auxin_Demo_Importer {
2079
  if ( !empty( $match[1] ) ) {
2080
  $new_url = str_replace( '\/' . $match[1], '', $match[0] );
2081
  $new_url = str_replace( "https:\/\/demo.phlox.pro\/", $site_url, $new_url );
 
 
 
2082
  $new_css = str_replace( $match[0], $new_url, $new_css );
2083
  }
2084
  }
66
  }
67
 
68
  $data = false;
69
+ $template_ID = isset( $_POST['ID'] ) ? sanitize_text_field( $_POST['ID'] ) : '';
70
+ $template_type = isset( $_POST['type'] ) ? sanitize_text_field( $_POST['type'] ) : '';
71
+ $page_template = isset( $_POST['tmpl'] ) ? sanitize_text_field( $_POST['tmpl'] ) : '';
72
+ $template_title = isset( $_POST['title'] ) ? sanitize_text_field( $_POST['title'] ) : 'PHLOX #' . $template_ID;
73
+ $template_status = isset( $_POST['status'] ) ? sanitize_text_field( $_POST['status'] ) : 'import';
74
  $template_data_key = sanitize_key( "auxin_template_kit_{$template_type}_data_for_origin_id_{$template_ID}" );
75
 
76
  if( $template_status === 'copy' && false !== ( $data = auxin_get_transient( $template_data_key ) ) ) {
218
 
219
  if ( $data['success'] ) {
220
 
221
+ $get_options = auxin_sanitize_input( $_POST['options'] );
222
  foreach ( $get_options as $key => $value ) {
223
  $options[ $value['name'] ] = $value['value'];
224
  }
1681
 
1682
  global $wpdb;
1683
 
1684
+ $meta = $wpdb->get_results( $wpdb->prepare("SELECT post_id FROM $wpdb->postmeta WHERE meta_key=%s AND meta_value=%s", [ $key, $value ] ) );
 
 
1685
 
1686
  if ( is_array($meta) && !empty($meta) && isset($meta[0]) ) {
1687
  $meta = $meta[0];
2077
  if ( !empty( $match[1] ) ) {
2078
  $new_url = str_replace( '\/' . $match[1], '', $match[0] );
2079
  $new_url = str_replace( "https:\/\/demo.phlox.pro\/", $site_url, $new_url );
2080
+ if ( strpos( 'http', $new_url ) === false ) {
2081
+ $new_url = $site_url . ltrim( $new_url, "\/" );
2082
+ }
2083
  $new_css = str_replace( $match[0], $new_url, $new_css );
2084
  }
2085
  }
includes/classes/class-auxin-master-nav-menu-admin.php CHANGED
@@ -87,7 +87,7 @@ class Auxin_Master_Nav_Menu_Admin {
87
 
88
  }
89
 
90
- update_post_meta( $menu_item_db_id, '_menu_item_'. $field_id , $_POST['menu-item-'. $field_id ][ $menu_item_db_id ] );
91
  }
92
 
93
  }
87
 
88
  }
89
 
90
+ update_post_meta( $menu_item_db_id, '_menu_item_'. $field_id , sanitize_text_field( $_POST['menu-item-'. $field_id ][ $menu_item_db_id ] ) );
91
  }
92
 
93
  }
includes/classes/class-auxin-permalink.php CHANGED
@@ -91,7 +91,7 @@ if ( ! defined('ABSPATH') ) {
91
  $single_option_name = $this->get_structure( array( 'post_type' => $post_type, 'page_type' => 'single' ) );
92
 
93
  // get post type structure
94
- $structure = trim( esc_attr( $_POST[ $single_option_name ] ) );
95
 
96
  // default permalink structure
97
  if( ! $structure ) $structure = $post_type;
@@ -109,7 +109,7 @@ if ( ! defined('ABSPATH') ) {
109
  $archive_option_name = $this->get_structure( array( 'post_type' => $post_type, 'page_type' => 'archive' ) );
110
 
111
  // get post type structure
112
- $structure = trim( esc_attr( $_POST[$archive_option_name] ) );
113
 
114
  // default permalink structure
115
  if( ! $structure ) $structure = $post_type."/all";
@@ -130,7 +130,7 @@ if ( ! defined('ABSPATH') ) {
130
  $tax_option_name = $this->get_structure( array( 'post_type' => $post_type, 'page_type' => $tax ) );
131
 
132
  // get post type structure
133
- $structure = trim( esc_attr( $_POST[ $tax_option_name ] ) );
134
 
135
  // default permalink structure
136
  if( ! $structure ) $structure = $tax_object->rewrite['slug'];
91
  $single_option_name = $this->get_structure( array( 'post_type' => $post_type, 'page_type' => 'single' ) );
92
 
93
  // get post type structure
94
+ $structure = trim( sanitize_text_field( $_POST[ $single_option_name ] ) );
95
 
96
  // default permalink structure
97
  if( ! $structure ) $structure = $post_type;
109
  $archive_option_name = $this->get_structure( array( 'post_type' => $post_type, 'page_type' => 'archive' ) );
110
 
111
  // get post type structure
112
+ $structure = trim( sanitize_text_field( $_POST[$archive_option_name] ) );
113
 
114
  // default permalink structure
115
  if( ! $structure ) $structure = $post_type."/all";
130
  $tax_option_name = $this->get_structure( array( 'post_type' => $post_type, 'page_type' => $tax ) );
131
 
132
  // get post type structure
133
+ $structure = trim( sanitize_text_field( $_POST[ $tax_option_name ] ) );
134
 
135
  // default permalink structure
136
  if( ! $structure ) $structure = $tax_object->rewrite['slug'];
includes/classes/class-auxin-welcome.php CHANGED
@@ -349,7 +349,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
349
  }
350
  $url = wp_nonce_url( add_query_arg( array( 'plugins' => 'go' ) ), 'aux-setup' );
351
 
352
- $custom_list = isset( $_GET['items'] ) && ! empty( $_GET['items'] ) ? explode( ',', $_GET['items'] ) : array();
353
  $plugins = $this->get_plugins( $custom_list );
354
 
355
  // copied from TGM
@@ -1380,7 +1380,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1380
  ob_start();
1381
 
1382
  if( $type == 'progress' ) {
1383
- echo sprintf( '<div class="aux-template-lightbox"><div class="aux-modal-item aux-default-modal clearfix aux-steps-col">%s</div></div>', $this->progress_step( array(), '' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1384
  wp_die( ob_get_clean() );
1385
  }
1386
 
@@ -1398,7 +1398,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1398
  'plugins' => $args['plugins'],
1399
  'next_action' => 'template_manager'
1400
  );
1401
- echo sprintf( '<div class="aux-template-lightbox"><div class="aux-modal-item aux-default-modal clearfix aux-has-required-plugins aux-steps-col">%s</div></div>', $this->second_step( $args, '5' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1402
  wp_die( ob_get_clean() );
1403
  }
1404
 
@@ -1482,7 +1482,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1482
  public function step_manager( $next_step = '' ) {
1483
  $next_step = empty( $next_step ) ? sanitize_text_field( $_POST['next_step'] ) : $next_step;
1484
  $nonce = sanitize_text_field( $_POST['nonce'] );
1485
- $args = $_POST['args'];
1486
 
1487
  $steps = array(
1488
  '1' => array(
349
  }
350
  $url = wp_nonce_url( add_query_arg( array( 'plugins' => 'go' ) ), 'aux-setup' );
351
 
352
+ $custom_list = isset( $_GET['items'] ) && ! empty( $_GET['items'] ) ? explode( ',', auxin_sanitize_input( $_GET['items'] ) ) : array();
353
  $plugins = $this->get_plugins( $custom_list );
354
 
355
  // copied from TGM
1380
  ob_start();
1381
 
1382
  if( $type == 'progress' ) {
1383
+ echo sprintf( '<div class="aux-template-lightbox"><div class="aux-modal-item aux-default-modal clearfix aux-steps-col">%s</div></div>', $this->progress_step( array(), '' ) );
1384
  wp_die( ob_get_clean() );
1385
  }
1386
 
1398
  'plugins' => $args['plugins'],
1399
  'next_action' => 'template_manager'
1400
  );
1401
+ echo sprintf( '<div class="aux-template-lightbox"><div class="aux-modal-item aux-default-modal clearfix aux-has-required-plugins aux-steps-col">%s</div></div>', $this->second_step( $args, '5' ) );
1402
  wp_die( ob_get_clean() );
1403
  }
1404
 
1482
  public function step_manager( $next_step = '' ) {
1483
  $next_step = empty( $next_step ) ? sanitize_text_field( $_POST['next_step'] ) : $next_step;
1484
  $nonce = sanitize_text_field( $_POST['nonce'] );
1485
+ $args = auxin_sanitize_input( $_POST['args'] );
1486
 
1487
  $steps = array(
1488
  '1' => array(
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.9.12' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.9.14' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elementor/class-auxin-elementor-core-elements.php CHANGED
@@ -708,7 +708,7 @@ final class Elements {
708
  self::MINIMUM_ELEMENTOR_VERSION
709
  );
710
 
711
- printf( '<div class="notice notice-warning is-dismissible"><p>%1$s</p></div>', $message ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
712
  }
713
 
714
  /**
708
  self::MINIMUM_ELEMENTOR_VERSION
709
  );
710
 
711
+ printf( '<div class="notice notice-warning is-dismissible"><p>%1$s</p></div>', $message );
712
  }
713
 
714
  /**
includes/elementor/modules/dynamic-tags/archive-url.php CHANGED
@@ -67,7 +67,7 @@ class Archive_URL extends Data_Tag {
67
  }
68
 
69
  public function render() {
70
- echo $this->get_archive_url();
71
  }
72
  }
73
 
67
  }
68
 
69
  public function render() {
70
+ echo esc_url( $this->get_archive_url() );
71
  }
72
  }
73
 
includes/elementor/modules/dynamic-tags/contact-url.php CHANGED
@@ -439,7 +439,7 @@ class Contact_URL extends Tag {
439
  $value = $this->build_viber_link( $settings );
440
  break;
441
  }
442
- echo $value;
443
  }
444
  }
445
 
439
  $value = $this->build_viber_link( $settings );
440
  break;
441
  }
442
+ echo auxin_kses( $value );
443
  }
444
  }
445
 
includes/elementor/modules/dynamic-tags/featured-colors.php CHANGED
@@ -76,7 +76,7 @@ class Auxin_Featured_Colors extends Tag {
76
  }
77
 
78
  public function render() {
79
- echo $this->get_color();
80
  }
81
 
82
  }
76
  }
77
 
78
  public function render() {
79
+ echo esc_attr( $this->get_color() );
80
  }
81
 
82
  }
includes/elementor/modules/dynamic-tags/login-url.php CHANGED
@@ -68,7 +68,7 @@ class Auxin_Login_Url extends Tag {
68
  }
69
 
70
  public function render() {
71
- echo $this->get_page_url();
72
  }
73
 
74
  }
68
  }
69
 
70
  public function render() {
71
+ echo esc_url( $this->get_page_url() );
72
  }
73
 
74
  }
includes/elementor/modules/dynamic-tags/pages-url.php CHANGED
@@ -76,7 +76,7 @@ class Auxin_Pages_Url extends Tag {
76
  }
77
 
78
  public function render() {
79
- echo $this->get_page_url();
80
  }
81
 
82
  }
76
  }
77
 
78
  public function render() {
79
+ echo esc_url( $this->get_page_url() );
80
  }
81
 
82
  }
includes/elementor/modules/dynamic-tags/posts-url.php CHANGED
@@ -75,7 +75,7 @@ class Auxin_Posts_Url extends Tag {
75
  }
76
 
77
  public function render() {
78
- echo $this->get_post_url();
79
  }
80
 
81
  }
75
  }
76
 
77
  public function render() {
78
+ echo esc_url( $this->get_post_url() );
79
  }
80
 
81
  }
includes/elementor/modules/dynamic-tags/request-parameter.php CHANGED
@@ -50,7 +50,7 @@ class Request_Parameter extends Tag {
50
  if ( ! isset( $_GET[ $param_name ] ) ) {
51
  return '';
52
  }
53
- $value = $_GET[ $param_name ];
54
  break;
55
  case 'QUERY_VAR':
56
  $value = get_query_var( $param_name );
50
  if ( ! isset( $_GET[ $param_name ] ) ) {
51
  return '';
52
  }
53
+ $value = auxin_sanitize_input( $_GET[ $param_name ] );
54
  break;
55
  case 'QUERY_VAR':
56
  $value = get_query_var( $param_name );
includes/elementor/modules/dynamic-tags/shortcode.php CHANGED
@@ -54,21 +54,6 @@ class Shortcode extends Tag {
54
 
55
  $value = do_shortcode( $shortcode_string );
56
 
57
- /**
58
- * Should Escape.
59
- *
60
- * Used to allow 3rd party to avoid shortcode dynamic from escaping
61
- *
62
- * @since 2.2.1
63
- *
64
- * @param bool defaults to true
65
- */
66
- $should_escape = apply_filters( 'auxin/core_elements/dynamic_tags/shortcode/should_escape', true );
67
-
68
- if ( $should_escape ) {
69
- $value = wp_kses_post( $value );
70
- }
71
-
72
- echo $value; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
73
  }
74
  }
54
 
55
  $value = do_shortcode( $shortcode_string );
56
 
57
+ echo wp_kses_post( $value );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
  }
includes/elementor/modules/dynamic-tags/taxonomies-url.php CHANGED
@@ -75,7 +75,7 @@ class Auxin_Taxonomies_Url extends Tag {
75
  }
76
 
77
  public function render() {
78
- echo $this->get_category_url();
79
  }
80
 
81
  }
75
  }
76
 
77
  public function render() {
78
+ echo esc_url( $this->get_category_url() );
79
  }
80
 
81
  }
includes/elementor/modules/theme-builder/classes/locations-manager.php CHANGED
@@ -87,7 +87,7 @@ class Locations_Manager {
87
  global $authordata;
88
  if ( ! isset( $authordata->ID ) ) {
89
  $post = get_post();
90
- $authordata = get_userdata( $post->post_author ); // WPCS: override ok.
91
  }
92
  }
93
 
@@ -236,7 +236,7 @@ class Locations_Manager {
236
 
237
  public function filter_add_location_meta_on_create_new_post( $meta ) {
238
  if ( ! empty( $_GET['meta_location'] ) ) {
239
- $meta[ Theme_Document::LOCATION_META_KEY ] = $_GET['meta_location'];
240
  }
241
 
242
  return $meta;
87
  global $authordata;
88
  if ( ! isset( $authordata->ID ) ) {
89
  $post = get_post();
90
+ $authordata = get_userdata( $post->post_author );
91
  }
92
  }
93
 
236
 
237
  public function filter_add_location_meta_on_create_new_post( $meta ) {
238
  if ( ! empty( $_GET['meta_location'] ) ) {
239
+ $meta[ Theme_Document::LOCATION_META_KEY ] = auxin_sanitize_input( $_GET['meta_location'] );
240
  }
241
 
242
  return $meta;
includes/elementor/widgets/before-after.php CHANGED
@@ -249,13 +249,13 @@ class BeforeAfter extends Widget_Base {
249
  if( ! empty( $settings['after_image'] ) ) {
250
  echo sprintf( '<div class="widget-container aux-widget-before-after"><div %s >%s %s</div></div>',
251
  $this->get_render_attribute_string( 'wrapper' ),
252
- $before_image, // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
253
- $after_image // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
254
  ) ;
255
  } else {
256
  echo sprintf( '<div class="widget-container aux-widget-before-after"><div %s >%s</div></div>',
257
  $this->get_render_attribute_string( 'wrapper' ),
258
- $before_image // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
259
  );
260
  }
261
 
249
  if( ! empty( $settings['after_image'] ) ) {
250
  echo sprintf( '<div class="widget-container aux-widget-before-after"><div %s >%s %s</div></div>',
251
  $this->get_render_attribute_string( 'wrapper' ),
252
+ $before_image,
253
+ $after_image
254
  ) ;
255
  } else {
256
  echo sprintf( '<div class="widget-container aux-widget-before-after"><div %s >%s</div></div>',
257
  $this->get_render_attribute_string( 'wrapper' ),
258
+ $before_image
259
  );
260
  }
261
 
includes/elementor/widgets/heading-modern.php CHANGED
@@ -1158,7 +1158,7 @@ class ModernHeading extends Widget_Base {
1158
 
1159
  // Maybe print divider before
1160
  if( empty( $settings['divider_position'] ) || 'before' == $settings['divider_position'] ){
1161
- echo $divider_markup; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1162
  }
1163
 
1164
  // Print Primary Heading
@@ -1189,7 +1189,7 @@ class ModernHeading extends Widget_Base {
1189
 
1190
  // Maybe print divider between
1191
  if( 'between' == $settings['divider_position'] ){
1192
- echo $divider_markup; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1193
  }
1194
 
1195
  // Print Secondary Heading
@@ -1231,7 +1231,7 @@ class ModernHeading extends Widget_Base {
1231
 
1232
  // Maybe Print divider after
1233
  if( 'after' == $settings['divider_position'] ){
1234
- echo $divider_markup; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1235
  }
1236
 
1237
  if( ! empty( $settings['description'] ) ){
1158
 
1159
  // Maybe print divider before
1160
  if( empty( $settings['divider_position'] ) || 'before' == $settings['divider_position'] ){
1161
+ echo wp_kses_post( $divider_markup );
1162
  }
1163
 
1164
  // Print Primary Heading
1189
 
1190
  // Maybe print divider between
1191
  if( 'between' == $settings['divider_position'] ){
1192
+ echo wp_kses_post( $divider_markup );
1193
  }
1194
 
1195
  // Print Secondary Heading
1231
 
1232
  // Maybe Print divider after
1233
  if( 'after' == $settings['divider_position'] ){
1234
+ echo wp_kses_post( $divider_markup );
1235
  }
1236
 
1237
  if( ! empty( $settings['description'] ) ){
includes/elementor/widgets/icon.php CHANGED
@@ -408,7 +408,7 @@ class Icon extends Widget_Base {
408
 
409
  ?>
410
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?>>
411
- <<?php echo $icon_tag . ' ' . $this->get_render_attribute_string( 'icon-wrapper' ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
412
  <?php
413
  if ( ! empty( $settings['aux_new_icon']['value'] ) ) {
414
  \Elementor\Icons_Manager::render_icon( $settings['aux_new_icon'], [ 'aria-hidden' => 'true' ] );
@@ -422,7 +422,7 @@ class Icon extends Widget_Base {
422
  }
423
  }
424
  ?>
425
- </<?php echo $icon_tag; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
426
  </div>
427
  <?php
428
  }
408
 
409
  ?>
410
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?>>
411
+ <<?php echo esc_html( $icon_tag ) . ' ' . $this->get_render_attribute_string( 'icon-wrapper' ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
412
  <?php
413
  if ( ! empty( $settings['aux_new_icon']['value'] ) ) {
414
  \Elementor\Icons_Manager::render_icon( $settings['aux_new_icon'], [ 'aria-hidden' => 'true' ] );
422
  }
423
  }
424
  ?>
425
+ </<?php echo esc_html( $icon_tag ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
426
  </div>
427
  <?php
428
  }
includes/elementor/widgets/responsive-table.php CHANGED
@@ -332,7 +332,7 @@ class ResponsiveTable extends Widget_Base {
332
  ?>
333
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?> >
334
  <div <?php echo $this->get_render_attribute_string( 'inner' ); ?> >
335
- <?php echo $settings['table_markup']; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped?>
336
  </div>
337
  </div>
338
  <?php
332
  ?>
333
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?> >
334
  <div <?php echo $this->get_render_attribute_string( 'inner' ); ?> >
335
+ <?php echo wp_kses_post( $settings['table_markup'] );?>
336
  </div>
337
  </div>
338
  <?php
includes/elementor/widgets/svg.php CHANGED
@@ -411,7 +411,7 @@ class Simple__SVG extends Widget_Base {
411
  ?>
412
  <div class="aux-widget-container aux-simple-svg-container">
413
  <div class="aux-widget-container-inner">
414
- <div class="aux-the-svg"><?php echo $content; ?></div>
415
  </div>
416
  </div>
417
  <?php
411
  ?>
412
  <div class="aux-widget-container aux-simple-svg-container">
413
  <div class="aux-widget-container-inner">
414
+ <div class="aux-the-svg"><?php echo wp_kses_post( $content ); ?></div>
415
  </div>
416
  </div>
417
  <?php
includes/elementor/widgets/tabs.php CHANGED
@@ -541,8 +541,6 @@ class Tabs extends Widget_Base {
541
  */
542
  protected function render() {
543
 
544
- add_filter( 'auxin/core_elements/dynamic_tags/shortcode/should_escape', '__return_false' );
545
-
546
  $settings = $this->get_settings_for_display();
547
 
548
  $args = array(
@@ -554,8 +552,6 @@ class Tabs extends Widget_Base {
554
 
555
  // pass the args through the corresponding shortcode callback
556
  echo auxin_widget_tabs_callback( $args );
557
-
558
- add_filter( 'auxin/core_elements/dynamic_tags/shortcode/should_escape', '__return_true' );
559
  }
560
 
561
 
541
  */
542
  protected function render() {
543
 
 
 
544
  $settings = $this->get_settings_for_display();
545
 
546
  $args = array(
552
 
553
  // pass the args through the corresponding shortcode callback
554
  echo auxin_widget_tabs_callback( $args );
 
 
555
  }
556
 
557
 
includes/elementor/widgets/theme-elements/logo.php CHANGED
@@ -732,7 +732,7 @@ class Logo extends Widget_Base {
732
  }
733
 
734
  echo '<div class="aux-widget-logo">';
735
- echo $logo_markup; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
736
  echo '<section class="aux-logo-text">';
737
  echo '<h3 class="site-title">';
738
  echo '<a href="' . esc_url( $home_url ) . '" title="' . esc_attr( $blog_display_name ) . '">';
732
  }
733
 
734
  echo '<div class="aux-widget-logo">';
735
+ echo wp_kses_post( $logo_markup );
736
  echo '<section class="aux-logo-text">';
737
  echo '<h3 class="site-title">';
738
  echo '<a href="' . esc_url( $home_url ) . '" title="' . esc_attr( $blog_display_name ) . '">';
includes/elementor/widgets/theme-elements/menu.php CHANGED
@@ -1586,7 +1586,7 @@ class MenuBox extends Widget_Base {
1586
  $burger_btn_output = printf( '<div class="aux-burger-box" data-target-panel="%s" data-target-content="%s">%s</div>',
1587
  esc_attr( $settings['burger_menu_location'] ),
1588
  '.elementor-element-' . esc_attr( $this->get_id() ) . ' .aux-master-menu',
1589
- $burger_content // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1590
  );
1591
 
1592
  $breakpoint = ( 'custom' === $settings['display_burger'] && !empty( $settings['breakpoint']['size'] ) ) ? $settings['breakpoint']['size'] : $settings['display_burger'];
@@ -1603,9 +1603,9 @@ class MenuBox extends Widget_Base {
1603
  'fallback_cb' => 'wp_page_menu'
1604
  ));
1605
 
1606
- echo $offcanvas_output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1607
- echo $fullscreen_output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1608
- echo $toggle_bar_output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1609
 
1610
  echo '</div>';
1611
 
1586
  $burger_btn_output = printf( '<div class="aux-burger-box" data-target-panel="%s" data-target-content="%s">%s</div>',
1587
  esc_attr( $settings['burger_menu_location'] ),
1588
  '.elementor-element-' . esc_attr( $this->get_id() ) . ' .aux-master-menu',
1589
+ $burger_content
1590
  );
1591
 
1592
  $breakpoint = ( 'custom' === $settings['display_burger'] && !empty( $settings['breakpoint']['size'] ) ) ? $settings['breakpoint']['size'] : $settings['display_burger'];
1603
  'fallback_cb' => 'wp_page_menu'
1604
  ));
1605
 
1606
+ echo wp_kses_post( $offcanvas_output );
1607
+ echo wp_kses_post( $fullscreen_output );
1608
+ echo wp_kses_post( $toggle_bar_output );
1609
 
1610
  echo '</div>';
1611
 
includes/elementor/widgets/theme-elements/modern-search.php CHANGED
@@ -1069,7 +1069,7 @@ class ModernSearch extends Widget_Base {
1069
  $options_output = '<option value="all" data-taxonomy="' . esc_attr ( wp_json_encode( $taxonomies ) ) . '" data-post-type="' . esc_attr ( wp_json_encode( $post_types ) ) . '">' . __('All Categories', THEME_DOMAIN) . '</option>' . $options_output ;
1070
 
1071
  echo '<div class="aux-search-cats">';
1072
- echo '<select class="aux-modern-search-cats" name="cat">' . $options_output . '</select>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1073
  echo '</div>';
1074
  }
1075
 
1069
  $options_output = '<option value="all" data-taxonomy="' . esc_attr ( wp_json_encode( $taxonomies ) ) . '" data-post-type="' . esc_attr ( wp_json_encode( $post_types ) ) . '">' . __('All Categories', THEME_DOMAIN) . '</option>' . $options_output ;
1070
 
1071
  echo '<div class="aux-search-cats">';
1072
+ echo '<select class="aux-modern-search-cats" name="cat">' . $options_output . '</select>';
1073
  echo '</div>';
1074
  }
1075
 
includes/elements/contact-box.php CHANGED
@@ -395,7 +395,7 @@ function auxin_widget_contact_box( $atts, $shortcode_content = null ){
395
 
396
  // Print the contact info above the map if the position option is set to 'up'
397
  if( 'down' !== $map_position ){
398
- echo $contact_info; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
399
  }
400
 
401
  if( auxin_is_true( $show_map ) ) {
@@ -416,7 +416,7 @@ function auxin_widget_contact_box( $atts, $shortcode_content = null ){
416
  }
417
 
418
  if( 'down' === $map_position ){
419
- echo $contact_info; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
420
  }
421
 
422
  if( auxin_is_true( $show_map ) ) {
@@ -446,7 +446,7 @@ function auxin_widget_contact_box( $atts, $shortcode_content = null ){
446
  <?php if( $type == "ROADMAP" ){ ?>
447
  map.addStyle({
448
  styledMapName:"Auxin custom style map",
449
- styles: <?php echo $style; ?>,
450
  mapTypeId: "aux_map_style"
451
  });
452
 
395
 
396
  // Print the contact info above the map if the position option is set to 'up'
397
  if( 'down' !== $map_position ){
398
+ echo wp_kses_post( $contact_info );
399
  }
400
 
401
  if( auxin_is_true( $show_map ) ) {
416
  }
417
 
418
  if( 'down' === $map_position ){
419
+ echo wp_kses_post( $contact_info );
420
  }
421
 
422
  if( auxin_is_true( $show_map ) ) {
446
  <?php if( $type == "ROADMAP" ){ ?>
447
  map.addStyle({
448
  styledMapName:"Auxin custom style map",
449
+ styles: <?php echo wp_kses_post( $style ); ?>,
450
  mapTypeId: "aux_map_style"
451
  });
452
 
includes/elements/contact-form.php CHANGED
@@ -154,7 +154,7 @@ function auxin_widget_contact_form_callback( $atts, $shortcode_content = null ){
154
  $nameError = __('Please enter your name.', 'auxin-elements' );
155
  $hasError = true;
156
  } else {
157
- $name = trim($_POST['cName']);
158
  }
159
 
160
  if( trim($_POST['cEmail']) === '' ) {
@@ -164,11 +164,11 @@ function auxin_widget_contact_form_callback( $atts, $shortcode_content = null ){
164
  $emailError = __('You entered an invalid email address.', 'auxin-elements' );
165
  $hasError = true;
166
  } else {
167
- $cEmail = trim($_POST['cEmail']);
168
  }
169
 
170
 
171
- $url = trim($_POST['cURL']);
172
 
173
 
174
  if(trim($_POST['cComment']) === '' ) {
@@ -178,7 +178,7 @@ function auxin_widget_contact_form_callback( $atts, $shortcode_content = null ){
178
  if(function_exists('stripslashes')) {
179
  $comment = stripslashes(trim($_POST['cComment']));
180
  } else {
181
- $comment = trim($_POST['cComment']);
182
  }
183
  }
184
 
154
  $nameError = __('Please enter your name.', 'auxin-elements' );
155
  $hasError = true;
156
  } else {
157
+ $name = trim( sanitize_text_field( $_POST['cName'] ) );
158
  }
159
 
160
  if( trim($_POST['cEmail']) === '' ) {
164
  $emailError = __('You entered an invalid email address.', 'auxin-elements' );
165
  $hasError = true;
166
  } else {
167
+ $cEmail = trim( sanitize_email( $_POST['cEmail'] ) );
168
  }
169
 
170
 
171
+ $url = trim( sanitize_text_field( $_POST['cURL'] ) );
172
 
173
 
174
  if(trim($_POST['cComment']) === '' ) {
178
  if(function_exists('stripslashes')) {
179
  $comment = stripslashes(trim($_POST['cComment']));
180
  } else {
181
+ $comment = trim( sanitize_text_field( $_POST['cComment'] ) );
182
  }
183
  }
184
 
includes/elements/gmap.php CHANGED
@@ -308,7 +308,7 @@ function auxin_widget_gmaps_callback( $atts, $shortcode_content = null ){
308
  <?php if( $type == "ROADMAP" ){ ?>
309
  map.addStyle({
310
  styledMapName:"Auxin custom style map",
311
- styles: <?php echo $style; ?>,
312
  mapTypeId: "aux_map_style"
313
  });
314
 
308
  <?php if( $type == "ROADMAP" ){ ?>
309
  map.addStyle({
310
  styledMapName:"Auxin custom style map",
311
+ styles: <?php echo wp_kses_post( $style ); ?>,
312
  mapTypeId: "aux_map_style"
313
  });
314
 
includes/elements/image.php CHANGED
@@ -533,7 +533,7 @@ function auxin_widget_image_callback( $atts, $shortcode_content = null ){
533
  <div class="aux-media-hint-frame ">
534
  <div class="aux-media-image <?php echo esc_attr( $hover_class ); echo esc_attr( $frame_classes ); echo esc_attr( $overflow_class ); ?>" >
535
  <?php if( !empty($anchor_link) ) { ?>
536
- <a class="<?php echo esc_attr( $anchor_class ); ?>" href="<?php echo esc_url( $anchor_link ); ?>" <?php echo $lightbox_attrs . ' ' . $target . ' ' . $nofollow; ?> >
537
  <?php } ?>
538
 
539
  <?php if ( auxin_is_true( $display_ribbon ) && ! empty( $ribbon_text ) ) { ?>
533
  <div class="aux-media-hint-frame ">
534
  <div class="aux-media-image <?php echo esc_attr( $hover_class ); echo esc_attr( $frame_classes ); echo esc_attr( $overflow_class ); ?>" >
535
  <?php if( !empty($anchor_link) ) { ?>
536
+ <a class="<?php echo esc_attr( $anchor_class ); ?>" href="<?php echo esc_url( $anchor_link ); ?>" <?php echo wp_kses_post( $lightbox_attrs ) . ' ' . wp_kses_post( $target ) . ' ' . wp_kses_post( $nofollow ); ?> >
537
  <?php } ?>
538
 
539
  <?php if ( auxin_is_true( $display_ribbon ) && ! empty( $ribbon_text ) ) { ?>
includes/elements/latest-items.php CHANGED
@@ -382,7 +382,7 @@ function auxin_widget_latest_items( $atts, $shortcode_content = null ){
382
  ?>
383
  <?php echo wp_kses_post( $before_widget ); ?>
384
 
385
- <section id="<?php echo esc_attr( $custom_el_id ); ?>" <?php echo $section_class_attr; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
386
 
387
  <?php
388
  if( ! empty( $before_title ) ){
382
  ?>
383
  <?php echo wp_kses_post( $before_widget ); ?>
384
 
385
+ <section id="<?php echo esc_attr( $custom_el_id ); ?>" <?php echo wp_kses_post( $section_class_attr ); ?>>
386
 
387
  <?php
388
  if( ! empty( $before_title ) ){
includes/elements/recent-posts-grid-carousel.php CHANGED
@@ -1023,7 +1023,7 @@ function auxin_widget_recent_posts_callback( $atts, $shortcode_content = null ){
1023
 
1024
  if( $have_posts ){
1025
 
1026
- echo ! $skip_wrappers ? sprintf( '<div data-element-id="%s" class="%s" %s>', esc_attr( $universal_id ), esc_attr( $column_class ), $carousel_attrs ) : ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1027
 
1028
  while ( $wp_query->have_posts() ) {
1029
 
@@ -1106,7 +1106,7 @@ function auxin_widget_recent_posts_callback( $atts, $shortcode_content = null ){
1106
 
1107
 
1108
  // print the custom inline style if available
1109
- echo $columns_custom_styles ? "<style>$columns_custom_styles</style>" : '';
1110
 
1111
  if ( in_array( $preview_mode, array('carousel', 'carousel-modern') ) && 'arrows' == $carousel_navigation_control ) {
1112
  if ( 'boxed' === $carousel_nav_control_skin ) :?>
1023
 
1024
  if( $have_posts ){
1025
 
1026
+ echo ! $skip_wrappers ? sprintf( '<div data-element-id="%s" class="%s" %s>', esc_attr( $universal_id ), esc_attr( $column_class ), $carousel_attrs ) : '';
1027
 
1028
  while ( $wp_query->have_posts() ) {
1029
 
1106
 
1107
 
1108
  // print the custom inline style if available
1109
+ echo $columns_custom_styles ? "<style>" . wp_kses_post( $columns_custom_styles ) . "</style>" : '';
1110
 
1111
  if ( in_array( $preview_mode, array('carousel', 'carousel-modern') ) && 'arrows' == $carousel_navigation_control ) {
1112
  if ( 'boxed' === $carousel_nav_control_skin ) :?>
includes/elements/recent-products.php CHANGED
@@ -629,12 +629,7 @@ function auxin_ajax_widget_the_recent_products(){
629
  die();
630
  }
631
 
632
- $args = !empty($_GET['data']) ? $_GET['data'] : [];
633
- if ( !empty( $args ) ) {
634
- foreach( $args as $key => $value ) {
635
- $args[ $key ] = sanitize_text_field( $value );
636
- }
637
- }
638
 
639
  $args['paged'] = !empty($_GET['paged']) ? sanitize_text_field( $_GET['paged'] ) : $args['paged'];
640
 
629
  die();
630
  }
631
 
632
+ $args = !empty($_GET['data']) ? auxin_sanitize_input( $_GET['data'] ) : [];
 
 
 
 
 
633
 
634
  $args['paged'] = !empty($_GET['paged']) ? sanitize_text_field( $_GET['paged'] ) : $args['paged'];
635
 
includes/elements/staff.php CHANGED
@@ -640,7 +640,7 @@ function auxin_widget_staff_callback( $atts, $shortcode_content = null ){
640
  // widget header ------------------------------
641
  echo wp_kses_post( $result['widget_header'] );
642
  ?>
643
- <div class="<?php echo esc_attr( $main_classes );?>" <?php echo $layout_border_color ; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
644
  <?php if( ! empty( $image ) ){ ;?>
645
  <div class="aux-staff-header <?php echo esc_attr( $header_classes ) ;?>">
646
  <?php echo sprintf( '<div class="aux-media-image">%s</div>' , wp_kses_post( $image ) );?>
640
  // widget header ------------------------------
641
  echo wp_kses_post( $result['widget_header'] );
642
  ?>
643
+ <div class="<?php echo esc_attr( $main_classes );?>" <?php echo wp_kses_post( $layout_border_color ); ?>>
644
  <?php if( ! empty( $image ) ){ ;?>
645
  <div class="aux-staff-header <?php echo esc_attr( $header_classes ) ;?>">
646
  <?php echo sprintf( '<div class="aux-media-image">%s</div>' , wp_kses_post( $image ) );?>
includes/elements/tabs.php CHANGED
@@ -216,7 +216,7 @@ function auxin_widget_tabs_callback( $atts, $shortcode_content = null ){
216
  $tabs_content .= '</ul>';
217
  $output = $output . $tabs_markup . $tabs_content . '</div>' . '</div>';
218
 
219
- echo $output; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
220
 
221
  // widget footer ------------------------------
222
  echo wp_kses_post( $result['widget_footer'] );
216
  $tabs_content .= '</ul>';
217
  $output = $output . $tabs_markup . $tabs_content . '</div>' . '</div>';
218
 
219
+ echo wp_kses_post( $output );
220
 
221
  // widget footer ------------------------------
222
  echo wp_kses_post( $result['widget_footer'] );
includes/elements/testimonial.php CHANGED
@@ -258,7 +258,7 @@ function auxin_widget_testimonial_callback( $atts, $shortcode_content = null ){
258
  <h5 class="col-subtitle"><?php echo auxin_kses( $subtitle ); ?></h5>
259
  <?php } if ( 'none' !== $rating ) { ?>
260
  <div class="aux-rating-box aux-star-rating">
261
- <span class="aux-star-rating-avg" style="width: <?php echo ( $rating / 5 ) * 100 ; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>%"> </span>
262
  </div>
263
  <?php } ?>
264
  </div>
258
  <h5 class="col-subtitle"><?php echo auxin_kses( $subtitle ); ?></h5>
259
  <?php } if ( 'none' !== $rating ) { ?>
260
  <div class="aux-rating-box aux-star-rating">
261
+ <span class="aux-star-rating-avg" style="width: <?php echo ( $rating / 5 ) * 100 ; ?>%"> </span>
262
  </div>
263
  <?php } ?>
264
  </div>
includes/elements/text.php CHANGED
@@ -1148,13 +1148,13 @@ function auxin_widget_column_callback( $atts, $shortcode_content = null ){
1148
  // widget header ------------------------------
1149
  echo wp_kses_post( $result['widget_header'] );
1150
  ?>
1151
- <div class="<?php echo esc_attr( $main_classes ) ;?>" <?php echo $main_styles ; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
1152
  <?php if ( ! empty( $overlay_color ) ) { ?>
1153
- <div class="aux-text-widget-overlay" <?php echo $overlay_style ; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>></div>
1154
  <?php } ?>
1155
 
1156
  <?php if( ! empty( $icon ) || ! empty( $image ) || ! empty( $header_bg_img ) || ! empty( $icon_svg_inline ) ) { ?>
1157
- <div class="aux-text-widget-header <?php echo esc_attr( $header_classess ) ;?>" <?php echo $header_styles ;//phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> >
1158
  <div class="aux-ico-box <?php echo esc_attr( $icon_box_classnames ) ;?> ">
1159
  <?php if ( ! empty( $icon ) ){ ;?>
1160
  <span class="aux-ico <?php echo esc_attr( $icon_classname ) ;?>" > </span>
@@ -1187,7 +1187,7 @@ function auxin_widget_column_callback( $atts, $shortcode_content = null ){
1187
  </div>
1188
  <?php if ( ! empty( $footer_classess ) ) { ?>
1189
  <div class="aux-text-widget-footer">
1190
- <div class="<?php echo esc_attr( $footer_classess ); ?>"<?php echo $footer_styles; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
1191
  <?php if ( 'wave' === $footer_shape ){?>
1192
  <svg width="100%" height="16">
1193
  <defs>
1148
  // widget header ------------------------------
1149
  echo wp_kses_post( $result['widget_header'] );
1150
  ?>
1151
+ <div class="<?php echo esc_attr( $main_classes ) ;?>" <?php echo wp_kses_post( $main_styles ) ; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
1152
  <?php if ( ! empty( $overlay_color ) ) { ?>
1153
+ <div class="aux-text-widget-overlay" <?php echo wp_kses_post( $overlay_style ) ; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>></div>
1154
  <?php } ?>
1155
 
1156
  <?php if( ! empty( $icon ) || ! empty( $image ) || ! empty( $header_bg_img ) || ! empty( $icon_svg_inline ) ) { ?>
1157
+ <div class="aux-text-widget-header <?php echo esc_attr( $header_classess ) ;?>" <?php echo wp_kses_post( $header_styles ) ;//phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> >
1158
  <div class="aux-ico-box <?php echo esc_attr( $icon_box_classnames ) ;?> ">
1159
  <?php if ( ! empty( $icon ) ){ ;?>
1160
  <span class="aux-ico <?php echo esc_attr( $icon_classname ) ;?>" > </span>
1187
  </div>
1188
  <?php if ( ! empty( $footer_classess ) ) { ?>
1189
  <div class="aux-text-widget-footer">
1190
+ <div class="<?php echo esc_attr( $footer_classess ); ?>"<?php echo wp_kses_post( $footer_styles ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
1191
  <?php if ( 'wave' === $footer_shape ){?>
1192
  <svg width="100%" height="16">
1193
  <defs>
includes/general-functions.php CHANGED
@@ -196,7 +196,7 @@ function auxin_elementor_plugin_missing_notice( $args ){
196
  $notice = ob_get_clean();
197
 
198
  if( $args['echo'] ){
199
- echo $notice;
200
  } else {
201
  return $notice;
202
  }
@@ -1949,7 +1949,7 @@ function auxin_cover() {
1949
  $discover_text = auxin_get_post_meta( $post, 'page_header_discover_text', '' );
1950
  ?>
1951
  <div class="aux-page-cover-wrapper">
1952
- <?php echo $image ;?>
1953
  <?php
1954
  if ( ! empty ( $cover_title ) ) { ?>
1955
  <div class="aux-page-cover-content">
@@ -1959,7 +1959,7 @@ function auxin_cover() {
1959
  ?>
1960
  <div class="aux-page-cover-footer">
1961
  <div class="aux-page-cover-footer-text">
1962
- <a href="#" title="<?php echo esc_attr( $discover_text ); ?>"><?php echo $discover_text ?></a>
1963
  </div>
1964
  </div>
1965
  </div>
@@ -2349,7 +2349,7 @@ function auxin_set_global_authordata() {
2349
  global $authordata;
2350
  if ( ! isset( $authordata->ID ) ) {
2351
  $post = get_post();
2352
- $authordata = get_userdata( $post->post_author ); // WPCS: override ok.
2353
  }
2354
  }
2355
 
@@ -2538,4 +2538,32 @@ function auxin_array_insert_after( array $array, $key, array $new ) {
2538
  $pos = false === $index ? count( $array ) : $index + 1;
2539
 
2540
  return array_merge( array_slice( $array, 0, $pos ), $new, array_slice( $array, $pos ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2541
  }
196
  $notice = ob_get_clean();
197
 
198
  if( $args['echo'] ){
199
+ echo wp_kses_post( $notice );
200
  } else {
201
  return $notice;
202
  }
1949
  $discover_text = auxin_get_post_meta( $post, 'page_header_discover_text', '' );
1950
  ?>
1951
  <div class="aux-page-cover-wrapper">
1952
+ <?php echo wp_kses_post( $image ) ;?>
1953
  <?php
1954
  if ( ! empty ( $cover_title ) ) { ?>
1955
  <div class="aux-page-cover-content">
1959
  ?>
1960
  <div class="aux-page-cover-footer">
1961
  <div class="aux-page-cover-footer-text">
1962
+ <a href="#" title="<?php echo esc_attr( $discover_text ); ?>"><?php echo wp_kses_post( $discover_text ) ?></a>
1963
  </div>
1964
  </div>
1965
  </div>
2349
  global $authordata;
2350
  if ( ! isset( $authordata->ID ) ) {
2351
  $post = get_post();
2352
+ $authordata = get_userdata( $post->post_author );
2353
  }
2354
  }
2355
 
2538
  $pos = false === $index ? count( $array ) : $index + 1;
2539
 
2540
  return array_merge( array_slice( $array, 0, $pos ), $new, array_slice( $array, $pos ) );
2541
+ }
2542
+
2543
+ /**
2544
+ * Sanitize array values as text fields
2545
+ *
2546
+ * @param array|string|int $input
2547
+ * @return array
2548
+ */
2549
+ function auxin_sanitize_input( $input ) {
2550
+ if ( is_array( $input ) ) {
2551
+ array_walk_recursive( $input, function( &$value, $key ) {
2552
+ if ( !is_array( $value ) ) {
2553
+ if ( is_numeric( $value ) ) {
2554
+ $value = absint( $value );
2555
+ } else {
2556
+ $value = sanitize_text_field( $value );
2557
+ }
2558
+ }
2559
+ });
2560
+ } else {
2561
+ if ( is_numeric( $input ) ) {
2562
+ $input = absint( $input );
2563
+ } else {
2564
+ $input = sanitize_text_field( $input );
2565
+ }
2566
+ }
2567
+
2568
+ return $input;
2569
  }
includes/general-hooks.php CHANGED
@@ -2245,7 +2245,7 @@ function auxin_login_head(){
2245
  $styles .= "background-size: $bg_width $bg_height; ";
2246
  $styles .= "width: $bg_width; height: $bg_height; ";
2247
 
2248
- echo "<style>#login h1 a { $styles }</style>";
2249
  }
2250
 
2251
  if( auxin_get_option( 'auxin_login_bg_show' ) ){
@@ -2265,7 +2265,7 @@ function auxin_login_head(){
2265
  'pattern' => 'auxin_login_bg_pattern'
2266
  ) );
2267
 
2268
- echo "<style>body.login { $bg_styles } body.login:before { $pattern_style }</style>";
2269
  }
2270
 
2271
  }
@@ -3358,7 +3358,7 @@ function auxin_remove_default_woocommerce_product_title() {
3358
 
3359
  function auxin_woocommerce_template_loop_product_title() {
3360
  global $product;
3361
- $dom = '<a href="' . esc_url( get_permalink( $product->get_id() ) ) . '"><h2 class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . get_the_title() . '</h2></a>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
3362
  echo apply_filters( 'auxin_woocommerce_template_loop_product_title', $dom );
3363
  }
3364
 
@@ -3689,4 +3689,24 @@ function auxels_add_login_style_to_head() {
3689
  }
3690
 
3691
  }
3692
- add_action( 'login_enqueue_scripts','auxels_add_login_style_to_head' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2245
  $styles .= "background-size: $bg_width $bg_height; ";
2246
  $styles .= "width: $bg_width; height: $bg_height; ";
2247
 
2248
+ echo "<style>#login h1 a { " . wp_kses_post( $styles ) . " }</style>";
2249
  }
2250
 
2251
  if( auxin_get_option( 'auxin_login_bg_show' ) ){
2265
  'pattern' => 'auxin_login_bg_pattern'
2266
  ) );
2267
 
2268
+ echo "<style>body.login { " . wp_kses_post( $bg_styles ) . " } body.login:before { " . wp_kses_post( $pattern_style ) . " }</style>";
2269
  }
2270
 
2271
  }
3358
 
3359
  function auxin_woocommerce_template_loop_product_title() {
3360
  global $product;
3361
+ $dom = '<a href="' . esc_url( get_permalink( $product->get_id() ) ) . '"><h2 class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . get_the_title() . '</h2></a>';
3362
  echo apply_filters( 'auxin_woocommerce_template_loop_product_title', $dom );
3363
  }
3364
 
3689
  }
3690
 
3691
  }
3692
+ add_action( 'login_enqueue_scripts','auxels_add_login_style_to_head' );
3693
+
3694
+
3695
+ /**
3696
+ * Skip generating image sizes for gif files
3697
+ */
3698
+ function auxels_disable_upload_sizes( $sizes, $metadata ) {
3699
+
3700
+ // Get filetype data.
3701
+ $filetype = wp_check_filetype($metadata['file']);
3702
+
3703
+ // Check if is gif.
3704
+ if($filetype['type'] == 'image/gif') {
3705
+ // Unset sizes if file is gif.
3706
+ $sizes = array();
3707
+ }
3708
+
3709
+ // Return sizes you want to create from image (None if image is gif.)
3710
+ return $sizes;
3711
+ }
3712
+ add_filter('intermediate_image_sizes_advanced', 'auxels_disable_upload_sizes', 10, 2);
includes/general-shortcodes.php CHANGED
@@ -310,7 +310,7 @@ function auxin_shortcode_timeline( $atts, $content = null ) {
310
  <article class="aux-block <?php echo "date-type-".$date_type." "; echo ($thumb_mode != "top")? $thumb_mode : "thumb_top" ; ?>">
311
  <figure>
312
  <?php if ( $has_attach && ($view_thumb == "yes") ) {
313
- echo $the_media;
314
  } ?>
315
 
316
 
@@ -337,7 +337,7 @@ function auxin_shortcode_timeline( $atts, $content = null ) {
337
  <?php } ?>
338
 
339
  <?php if($post_format == "quote") {
340
- echo $the_attach;
341
  } elseif($excerpt_len > 0) { ?>
342
  <p><?php auxin_the_trimmed_string(get_the_excerpt(),$excerpt_len); ?></p>
343
  <?php } ?>
@@ -355,7 +355,7 @@ function auxin_shortcode_timeline( $atts, $content = null ) {
355
  <?php if($view_more == "yes" ) {
356
  $view_all_link = esc_url( auxin_get_option( 'blog_view_all_btn_link', home_url() ) );
357
  ?>
358
- <a href="<?php echo esc_url( $view_all_link ); ?>" class="more right" ><?php echo $more_label; ?></a>
359
  <?php } unset( $view_all_link ); ?>
360
 
361
  </section><!-- widget-blog -->
310
  <article class="aux-block <?php echo "date-type-".$date_type." "; echo ($thumb_mode != "top")? $thumb_mode : "thumb_top" ; ?>">
311
  <figure>
312
  <?php if ( $has_attach && ($view_thumb == "yes") ) {
313
+ echo wp_kses_post( $the_media );
314
  } ?>
315
 
316
 
337
  <?php } ?>
338
 
339
  <?php if($post_format == "quote") {
340
+ echo wp_kses_post( $the_attach );
341
  } elseif($excerpt_len > 0) { ?>
342
  <p><?php auxin_the_trimmed_string(get_the_excerpt(),$excerpt_len); ?></p>
343
  <?php } ?>
355
  <?php if($view_more == "yes" ) {
356
  $view_all_link = esc_url( auxin_get_option( 'blog_view_all_btn_link', home_url() ) );
357
  ?>
358
+ <a href="<?php echo esc_url( $view_all_link ); ?>" class="more right" ><?php echo auxin_kses( $more_label ); ?></a>
359
  <?php } unset( $view_all_link ); ?>
360
 
361
  </section><!-- widget-blog -->
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-12 06:03:56+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -21,78 +21,78 @@ msgstr ""
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
 
24
- #: admin/includes/admin-ajax.php:7 admin/includes/admin-ajax.php:74
25
- #: admin/includes/admin-ajax.php:100
26
  msgid "Data cannot be delivered, please try again."
27
  msgstr "داده ها قابل تحویل نیستند، لطفا دوباره تلاش کنید."
28
 
29
- #: admin/includes/admin-ajax.php:19 admin/includes/admin-ajax.php:82
30
- #: admin/includes/admin-ajax.php:108
31
  msgid "Authorization failed!"
32
  msgstr "احراز هویت با خطا مواجه شد!"
33
 
34
- #: admin/includes/admin-ajax.php:58
35
  msgid "Sent Successfully. Thanks for your feedback!"
36
  msgstr "با موفقیت ارسال شد. از بازخورد شما ممنونیم."
37
 
38
- #: admin/includes/admin-ajax.php:61
39
  msgid "An error occurred. Feedback could not be delivered, please try again."
40
  msgstr "خطایی رخ داده است. بازخورد قابل تحویل نیست، لطفا دوباره تلاش کنید."
41
 
42
- #: admin/includes/admin-ajax.php:125 admin/includes/admin-ajax.php:246
43
- #: admin/includes/admin-ajax.php:305 admin/includes/admin-ajax.php:340
44
- #: admin/includes/admin-ajax.php:358 admin/includes/admin-ajax.php:399
45
  msgid "Token Error."
46
  msgstr ""
47
 
48
- #: admin/includes/admin-ajax.php:129
49
  msgid "It's Done."
50
  msgstr ""
51
 
52
- #: admin/includes/admin-ajax.php:132
53
  msgid "An error occurred."
54
  msgstr ""
55
 
56
- #: admin/includes/admin-ajax.php:249
57
  msgid "It's OK."
58
  msgstr ""
59
 
60
- #: admin/includes/admin-ajax.php:262
61
  #: includes/classes/class-auxin-welcome.php:1207
62
  #: includes/classes/class-auxin-welcome.php:1212
63
  #: includes/classes/class-auxin-welcome.php:1375
64
  msgid "Security Token Error!"
65
  msgstr ""
66
 
67
- #: admin/includes/admin-ajax.php:269
68
  msgid "License Activation"
69
  msgstr ""
70
 
71
- #: admin/includes/admin-ajax.php:270
72
  msgid ""
73
  "Please activate your license to get automatic updates, premium support, and "
74
  "unlimited access to the template library and demo importer."
75
  msgstr ""
76
 
77
- #: admin/includes/admin-ajax.php:273
78
  #, fuzzy
79
  msgid "E-mail address"
80
  msgstr "آدرس ایمیل جعبه تماس"
81
 
82
- #: admin/includes/admin-ajax.php:278
83
  msgid "Purchase code"
84
  msgstr ""
85
 
86
- #: admin/includes/admin-ajax.php:286
87
  msgid "Activate"
88
  msgstr ""
89
 
90
- #: admin/includes/admin-ajax.php:306 admin/includes/admin-ajax.php:321
91
  #: includes/classes/class-auxin-demo-importer.php:191
92
  msgid "Retry"
93
  msgstr ""
94
 
95
- #: admin/includes/admin-ajax.php:317
96
  #: includes/classes/class-auxin-demo-importer.php:115
97
  #: includes/classes/class-auxin-demo-importer.php:158
98
  #: includes/classes/class-auxin-demo-importer.php:193
@@ -102,20 +102,20 @@ msgstr ""
102
  msgid "Close"
103
  msgstr ""
104
 
105
- #: admin/includes/admin-ajax.php:374
106
  msgid "No data found!"
107
  msgstr ""
108
 
109
- #: admin/includes/admin-ajax.php:404
110
  #, fuzzy
111
  msgid "Please upload a valid file."
112
  msgstr "لطفا فایل ویدیو را بارگذاری کنید."
113
 
114
- #: admin/includes/admin-ajax.php:418
115
  msgid "Invalid or Empty Data."
116
  msgstr ""
117
 
118
- #: admin/includes/admin-ajax.php:455
119
  msgid "Successfully Imported."
120
  msgstr ""
121
 
@@ -124,15 +124,11 @@ msgstr ""
124
  msgid "Authorization failed. Please refresh the page and try again."
125
  msgstr ""
126
 
127
- #: admin/includes/admin-hooks.php:78
128
- msgid "Phlox RTL Fonts"
129
- msgstr ""
130
-
131
- #: admin/includes/admin-hooks.php:104
132
  msgid "Subtitle for Title Bar"
133
  msgstr ""
134
 
135
- #: admin/includes/admin-hooks.php:105
136
  #, fuzzy
137
  msgid ""
138
  "Second Title for title bar (optional). Note: You have to enable \"Display "
@@ -141,12 +137,12 @@ msgstr ""
141
  "عنوان دوم (دلخواه). نکته: شما باید گزینه \"نمایش بخش نوار عنوان\" را فعال "
142
  "کرده باشید تا زیرعنوان نمایش داده شود."
143
 
144
- #: admin/includes/admin-hooks.php:118
145
  #, fuzzy
146
  msgid "Subtitle Position"
147
  msgstr "زیرعنوان"
148
 
149
- #: admin/includes/admin-hooks.php:124
150
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:476
151
  #: includes/elementor/widgets/recent-posts-masonry.php:276
152
  #: includes/elementor/widgets/theme-elements/site-title.php:122
@@ -154,7 +150,7 @@ msgstr "زیرعنوان"
154
  msgid "Before Title"
155
  msgstr ""
156
 
157
- #: admin/includes/admin-hooks.php:125
158
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:475
159
  #: includes/elementor/widgets/recent-posts-masonry.php:275
160
  #: includes/elementor/widgets/theme-elements/site-title.php:153
@@ -163,25 +159,25 @@ msgstr ""
163
  msgid "After Title"
164
  msgstr "عنوان"
165
 
166
- #: admin/includes/admin-hooks.php:157
167
  msgid "Upgrade Phlox"
168
  msgstr ""
169
 
170
- #: admin/includes/admin-hooks.php:175
171
  msgid "Maintenance Mode"
172
  msgstr ""
173
 
174
- #: admin/includes/admin-hooks.php:220
175
  #, fuzzy
176
  msgid "Update Plugins"
177
  msgstr "افزونه های فعال"
178
 
179
- #: admin/includes/admin-hooks.php:221
180
  #, fuzzy
181
  msgid "Update Plugins %s"
182
  msgstr "افزونه های فعال"
183
 
184
- #: admin/includes/admin-hooks.php:416
185
  #, fuzzy
186
  msgid ""
187
  "Quick access to %s %sdashboard%s, %sdemo importer%s, %soptions%s, and "
@@ -189,60 +185,60 @@ msgid ""
189
  msgstr ""
190
  "دسترسی سریع به صفحات %sپیشخوان%s، %sتنظیمات%s، %sپشتیبانی%s و %sبازخورد%s."
191
 
192
- #: admin/includes/admin-hooks.php:419
193
  msgid "%s theme version %s"
194
  msgstr ""
195
 
196
- #: admin/includes/admin-hooks.php:421
197
  msgid "Theme Demo Importer"
198
  msgstr ""
199
 
200
- #: admin/includes/admin-hooks.php:423
201
  msgid "Theme Customizer"
202
  msgstr "شخصی ساز پوسته"
203
 
204
- #: admin/includes/admin-hooks.php:447
205
  msgid "You are using %1$s theme version %2$s."
206
  msgstr ""
207
 
208
- #: admin/includes/admin-hooks.php:456
209
  msgid "Please support us to continue this project by rating it %s"
210
  msgstr ""
211
 
212
- #: admin/includes/admin-hooks.php:594
213
  msgid ""
214
  "Please make sure the image aspect ratio for all image sizes are the same."
215
  msgstr ""
216
 
217
- #: admin/includes/admin-hooks.php:650 includes/general-hooks.php:1398
218
  #, fuzzy
219
  msgid "Footer Brand Image"
220
  msgstr "تصویر پوستر"
221
 
222
- #: admin/includes/admin-hooks.php:651 includes/general-hooks.php:1399
223
  msgid "This image appears as site brand image on footer section."
224
  msgstr ""
225
 
226
- #: admin/includes/admin-hooks.php:692
227
  #, fuzzy
228
  msgid "Activate License"
229
  msgstr "افزونه های فعال"
230
 
231
- #: admin/includes/admin-hooks.php:697
232
  #: includes/classes/class-auxin-welcome-sections.php:548
233
  msgid "Remind Me Later"
234
  msgstr ""
235
 
236
- #: admin/includes/admin-hooks.php:781
237
  msgid "Phlox is Not Activated! to Unlock All Features Activate Now."
238
  msgstr ""
239
 
240
- #: admin/includes/admin-hooks.php:785
241
  #, fuzzy
242
  msgid "Activate Now"
243
  msgstr "بخش فعال"
244
 
245
- #: admin/includes/admin-hooks.php:834
246
  #, fuzzy
247
  msgid "Uncategorized"
248
  msgstr "دسته"
@@ -2592,7 +2588,7 @@ msgid "Demo has been successfully uninstalled."
2592
  msgstr ""
2593
 
2594
  #: includes/classes/class-auxin-welcome.php:1408
2595
- #: public/includes/frontend-ajax.php:187 public/includes/frontend-ajax.php:250
2596
  msgid "An Error Occurred!"
2597
  msgstr ""
2598
 
@@ -13047,49 +13043,49 @@ msgstr ""
13047
  msgid "Authorization failed."
13048
  msgstr "احراز هویت با خطا مواجه شد."
13049
 
13050
- #: public/includes/frontend-ajax.php:109
13051
  #, fuzzy
13052
  msgid "Not a valid handler."
13053
  msgstr "اصلا"
13054
 
13055
- #: public/includes/frontend-ajax.php:115
13056
  msgid "No data received."
13057
  msgstr ""
13058
 
13059
- #: public/includes/frontend-ajax.php:143 public/includes/frontend-ajax.php:212
13060
  #, fuzzy
13061
  msgid "Verification failed!"
13062
  msgstr "احراز هویت با خطا مواجه شد!"
13063
 
13064
- #: public/includes/frontend-ajax.php:165 public/includes/frontend-ajax.php:281
13065
  msgid "Cart is empty"
13066
  msgstr ""
13067
 
13068
- #: public/includes/frontend-ajax.php:180
13069
  msgid "Your cart is currently empty."
13070
  msgstr ""
13071
 
13072
- #: public/includes/frontend-ajax.php:181
13073
  msgid "Item has been removed from your shopping cart."
13074
  msgstr ""
13075
 
13076
- #: public/includes/frontend-ajax.php:239
13077
  msgid "View cart"
13078
  msgstr ""
13079
 
13080
- #: public/includes/frontend-ajax.php:239
13081
  msgid "has been added to your cart."
13082
  msgstr ""
13083
 
13084
- #: public/includes/frontend-ajax.php:244
13085
  msgid "Sorry, this product cannot be purchased."
13086
  msgstr ""
13087
 
13088
- #: public/includes/frontend-ajax.php:346
13089
  msgid "From %s"
13090
  msgstr ""
13091
 
13092
- #: public/includes/frontend-ajax.php:347
13093
  msgid "Nothing found in %s"
13094
  msgstr ""
13095
 
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-19 12:31:25+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
21
  "X-Poedit-SearchPath-0: .\n"
22
  "X-Poedit-SearchPathExcluded-0: *.js\n"
23
 
24
+ #: admin/includes/admin-ajax.php:7 admin/includes/admin-ajax.php:73
25
+ #: admin/includes/admin-ajax.php:97
26
  msgid "Data cannot be delivered, please try again."
27
  msgstr "داده ها قابل تحویل نیستند، لطفا دوباره تلاش کنید."
28
 
29
+ #: admin/includes/admin-ajax.php:18 admin/includes/admin-ajax.php:79
30
+ #: admin/includes/admin-ajax.php:103
31
  msgid "Authorization failed!"
32
  msgstr "احراز هویت با خطا مواجه شد!"
33
 
34
+ #: admin/includes/admin-ajax.php:57
35
  msgid "Sent Successfully. Thanks for your feedback!"
36
  msgstr "با موفقیت ارسال شد. از بازخورد شما ممنونیم."
37
 
38
+ #: admin/includes/admin-ajax.php:60
39
  msgid "An error occurred. Feedback could not be delivered, please try again."
40
  msgstr "خطایی رخ داده است. بازخورد قابل تحویل نیست، لطفا دوباره تلاش کنید."
41
 
42
+ #: admin/includes/admin-ajax.php:120 admin/includes/admin-ajax.php:241
43
+ #: admin/includes/admin-ajax.php:300 admin/includes/admin-ajax.php:335
44
+ #: admin/includes/admin-ajax.php:353 admin/includes/admin-ajax.php:394
45
  msgid "Token Error."
46
  msgstr ""
47
 
48
+ #: admin/includes/admin-ajax.php:124
49
  msgid "It's Done."
50
  msgstr ""
51
 
52
+ #: admin/includes/admin-ajax.php:127
53
  msgid "An error occurred."
54
  msgstr ""
55
 
56
+ #: admin/includes/admin-ajax.php:244
57
  msgid "It's OK."
58
  msgstr ""
59
 
60
+ #: admin/includes/admin-ajax.php:257
61
  #: includes/classes/class-auxin-welcome.php:1207
62
  #: includes/classes/class-auxin-welcome.php:1212
63
  #: includes/classes/class-auxin-welcome.php:1375
64
  msgid "Security Token Error!"
65
  msgstr ""
66
 
67
+ #: admin/includes/admin-ajax.php:264
68
  msgid "License Activation"
69
  msgstr ""
70
 
71
+ #: admin/includes/admin-ajax.php:265
72
  msgid ""
73
  "Please activate your license to get automatic updates, premium support, and "
74
  "unlimited access to the template library and demo importer."
75
  msgstr ""
76
 
77
+ #: admin/includes/admin-ajax.php:268
78
  #, fuzzy
79
  msgid "E-mail address"
80
  msgstr "آدرس ایمیل جعبه تماس"
81
 
82
+ #: admin/includes/admin-ajax.php:273
83
  msgid "Purchase code"
84
  msgstr ""
85
 
86
+ #: admin/includes/admin-ajax.php:281
87
  msgid "Activate"
88
  msgstr ""
89
 
90
+ #: admin/includes/admin-ajax.php:301 admin/includes/admin-ajax.php:316
91
  #: includes/classes/class-auxin-demo-importer.php:191
92
  msgid "Retry"
93
  msgstr ""
94
 
95
+ #: admin/includes/admin-ajax.php:312
96
  #: includes/classes/class-auxin-demo-importer.php:115
97
  #: includes/classes/class-auxin-demo-importer.php:158
98
  #: includes/classes/class-auxin-demo-importer.php:193
102
  msgid "Close"
103
  msgstr ""
104
 
105
+ #: admin/includes/admin-ajax.php:369
106
  msgid "No data found!"
107
  msgstr ""
108
 
109
+ #: admin/includes/admin-ajax.php:399
110
  #, fuzzy
111
  msgid "Please upload a valid file."
112
  msgstr "لطفا فایل ویدیو را بارگذاری کنید."
113
 
114
+ #: admin/includes/admin-ajax.php:413
115
  msgid "Invalid or Empty Data."
116
  msgstr ""
117
 
118
+ #: admin/includes/admin-ajax.php:450
119
  msgid "Successfully Imported."
120
  msgstr ""
121
 
124
  msgid "Authorization failed. Please refresh the page and try again."
125
  msgstr ""
126
 
127
+ #: admin/includes/admin-hooks.php:81
 
 
 
 
128
  msgid "Subtitle for Title Bar"
129
  msgstr ""
130
 
131
+ #: admin/includes/admin-hooks.php:82
132
  #, fuzzy
133
  msgid ""
134
  "Second Title for title bar (optional). Note: You have to enable \"Display "
137
  "عنوان دوم (دلخواه). نکته: شما باید گزینه \"نمایش بخش نوار عنوان\" را فعال "
138
  "کرده باشید تا زیرعنوان نمایش داده شود."
139
 
140
+ #: admin/includes/admin-hooks.php:95
141
  #, fuzzy
142
  msgid "Subtitle Position"
143
  msgstr "زیرعنوان"
144
 
145
+ #: admin/includes/admin-hooks.php:101
146
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:476
147
  #: includes/elementor/widgets/recent-posts-masonry.php:276
148
  #: includes/elementor/widgets/theme-elements/site-title.php:122
150
  msgid "Before Title"
151
  msgstr ""
152
 
153
+ #: admin/includes/admin-hooks.php:102
154
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:475
155
  #: includes/elementor/widgets/recent-posts-masonry.php:275
156
  #: includes/elementor/widgets/theme-elements/site-title.php:153
159
  msgid "After Title"
160
  msgstr "عنوان"
161
 
162
+ #: admin/includes/admin-hooks.php:134
163
  msgid "Upgrade Phlox"
164
  msgstr ""
165
 
166
+ #: admin/includes/admin-hooks.php:152
167
  msgid "Maintenance Mode"
168
  msgstr ""
169
 
170
+ #: admin/includes/admin-hooks.php:197
171
  #, fuzzy
172
  msgid "Update Plugins"
173
  msgstr "افزونه های فعال"
174
 
175
+ #: admin/includes/admin-hooks.php:198
176
  #, fuzzy
177
  msgid "Update Plugins %s"
178
  msgstr "افزونه های فعال"
179
 
180
+ #: admin/includes/admin-hooks.php:393
181
  #, fuzzy
182
  msgid ""
183
  "Quick access to %s %sdashboard%s, %sdemo importer%s, %soptions%s, and "
185
  msgstr ""
186
  "دسترسی سریع به صفحات %sپیشخوان%s، %sتنظیمات%s، %sپشتیبانی%s و %sبازخورد%s."
187
 
188
+ #: admin/includes/admin-hooks.php:396
189
  msgid "%s theme version %s"
190
  msgstr ""
191
 
192
+ #: admin/includes/admin-hooks.php:398
193
  msgid "Theme Demo Importer"
194
  msgstr ""
195
 
196
+ #: admin/includes/admin-hooks.php:400
197
  msgid "Theme Customizer"
198
  msgstr "شخصی ساز پوسته"
199
 
200
+ #: admin/includes/admin-hooks.php:424
201
  msgid "You are using %1$s theme version %2$s."
202
  msgstr ""
203
 
204
+ #: admin/includes/admin-hooks.php:433
205
  msgid "Please support us to continue this project by rating it %s"
206
  msgstr ""
207
 
208
+ #: admin/includes/admin-hooks.php:571
209
  msgid ""
210
  "Please make sure the image aspect ratio for all image sizes are the same."
211
  msgstr ""
212
 
213
+ #: admin/includes/admin-hooks.php:627 includes/general-hooks.php:1398
214
  #, fuzzy
215
  msgid "Footer Brand Image"
216
  msgstr "تصویر پوستر"
217
 
218
+ #: admin/includes/admin-hooks.php:628 includes/general-hooks.php:1399
219
  msgid "This image appears as site brand image on footer section."
220
  msgstr ""
221
 
222
+ #: admin/includes/admin-hooks.php:669
223
  #, fuzzy
224
  msgid "Activate License"
225
  msgstr "افزونه های فعال"
226
 
227
+ #: admin/includes/admin-hooks.php:674
228
  #: includes/classes/class-auxin-welcome-sections.php:548
229
  msgid "Remind Me Later"
230
  msgstr ""
231
 
232
+ #: admin/includes/admin-hooks.php:758
233
  msgid "Phlox is Not Activated! to Unlock All Features Activate Now."
234
  msgstr ""
235
 
236
+ #: admin/includes/admin-hooks.php:762
237
  #, fuzzy
238
  msgid "Activate Now"
239
  msgstr "بخش فعال"
240
 
241
+ #: admin/includes/admin-hooks.php:811
242
  #, fuzzy
243
  msgid "Uncategorized"
244
  msgstr "دسته"
2588
  msgstr ""
2589
 
2590
  #: includes/classes/class-auxin-welcome.php:1408
2591
+ #: public/includes/frontend-ajax.php:180 public/includes/frontend-ajax.php:243
2592
  msgid "An Error Occurred!"
2593
  msgstr ""
2594
 
13043
  msgid "Authorization failed."
13044
  msgstr "احراز هویت با خطا مواجه شد."
13045
 
13046
+ #: public/includes/frontend-ajax.php:102
13047
  #, fuzzy
13048
  msgid "Not a valid handler."
13049
  msgstr "اصلا"
13050
 
13051
+ #: public/includes/frontend-ajax.php:108
13052
  msgid "No data received."
13053
  msgstr ""
13054
 
13055
+ #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:205
13056
  #, fuzzy
13057
  msgid "Verification failed!"
13058
  msgstr "احراز هویت با خطا مواجه شد!"
13059
 
13060
+ #: public/includes/frontend-ajax.php:158 public/includes/frontend-ajax.php:270
13061
  msgid "Cart is empty"
13062
  msgstr ""
13063
 
13064
+ #: public/includes/frontend-ajax.php:173
13065
  msgid "Your cart is currently empty."
13066
  msgstr ""
13067
 
13068
+ #: public/includes/frontend-ajax.php:174
13069
  msgid "Item has been removed from your shopping cart."
13070
  msgstr ""
13071
 
13072
+ #: public/includes/frontend-ajax.php:232
13073
  msgid "View cart"
13074
  msgstr ""
13075
 
13076
+ #: public/includes/frontend-ajax.php:232
13077
  msgid "has been added to your cart."
13078
  msgstr ""
13079
 
13080
+ #: public/includes/frontend-ajax.php:237
13081
  msgid "Sorry, this product cannot be purchased."
13082
  msgstr ""
13083
 
13084
+ #: public/includes/frontend-ajax.php:328
13085
  msgid "From %s"
13086
  msgstr ""
13087
 
13088
+ #: public/includes/frontend-ajax.php:329
13089
  msgid "Nothing found in %s"
13090
  msgstr ""
13091
 
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.12\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2022-07-12 06:03:56+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,77 +24,77 @@ msgstr ""
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
- #: admin/includes/admin-ajax.php:7 admin/includes/admin-ajax.php:74
28
- #: admin/includes/admin-ajax.php:100
29
  msgid "Data cannot be delivered, please try again."
30
  msgstr ""
31
 
32
- #: admin/includes/admin-ajax.php:19 admin/includes/admin-ajax.php:82
33
- #: admin/includes/admin-ajax.php:108
34
  msgid "Authorization failed!"
35
  msgstr ""
36
 
37
- #: admin/includes/admin-ajax.php:58
38
  msgid "Sent Successfully. Thanks for your feedback!"
39
  msgstr ""
40
 
41
- #: admin/includes/admin-ajax.php:61
42
  msgid "An error occurred. Feedback could not be delivered, please try again."
43
  msgstr ""
44
 
45
- #: admin/includes/admin-ajax.php:125 admin/includes/admin-ajax.php:246
46
- #: admin/includes/admin-ajax.php:305 admin/includes/admin-ajax.php:340
47
- #: admin/includes/admin-ajax.php:358 admin/includes/admin-ajax.php:399
48
  msgid "Token Error."
49
  msgstr ""
50
 
51
- #: admin/includes/admin-ajax.php:129
52
  msgid "It's Done."
53
  msgstr ""
54
 
55
- #: admin/includes/admin-ajax.php:132
56
  msgid "An error occurred."
57
  msgstr ""
58
 
59
- #: admin/includes/admin-ajax.php:249
60
  msgid "It's OK."
61
  msgstr ""
62
 
63
- #: admin/includes/admin-ajax.php:262
64
  #: includes/classes/class-auxin-welcome.php:1207
65
  #: includes/classes/class-auxin-welcome.php:1212
66
  #: includes/classes/class-auxin-welcome.php:1375
67
  msgid "Security Token Error!"
68
  msgstr ""
69
 
70
- #: admin/includes/admin-ajax.php:269
71
  msgid "License Activation"
72
  msgstr ""
73
 
74
- #: admin/includes/admin-ajax.php:270
75
  msgid ""
76
  "Please activate your license to get automatic updates, premium support, and "
77
  "unlimited access to the template library and demo importer."
78
  msgstr ""
79
 
80
- #: admin/includes/admin-ajax.php:273
81
  msgid "E-mail address"
82
  msgstr ""
83
 
84
- #: admin/includes/admin-ajax.php:278
85
  msgid "Purchase code"
86
  msgstr ""
87
 
88
- #: admin/includes/admin-ajax.php:286
89
  msgid "Activate"
90
  msgstr ""
91
 
92
- #: admin/includes/admin-ajax.php:306 admin/includes/admin-ajax.php:321
93
  #: includes/classes/class-auxin-demo-importer.php:191
94
  msgid "Retry"
95
  msgstr ""
96
 
97
- #: admin/includes/admin-ajax.php:317
98
  #: includes/classes/class-auxin-demo-importer.php:115
99
  #: includes/classes/class-auxin-demo-importer.php:158
100
  #: includes/classes/class-auxin-demo-importer.php:193
@@ -104,19 +104,19 @@ msgstr ""
104
  msgid "Close"
105
  msgstr ""
106
 
107
- #: admin/includes/admin-ajax.php:374
108
  msgid "No data found!"
109
  msgstr ""
110
 
111
- #: admin/includes/admin-ajax.php:404
112
  msgid "Please upload a valid file."
113
  msgstr ""
114
 
115
- #: admin/includes/admin-ajax.php:418
116
  msgid "Invalid or Empty Data."
117
  msgstr ""
118
 
119
- #: admin/includes/admin-ajax.php:455
120
  msgid "Successfully Imported."
121
  msgstr ""
122
 
@@ -125,25 +125,21 @@ msgstr ""
125
  msgid "Authorization failed. Please refresh the page and try again."
126
  msgstr ""
127
 
128
- #: admin/includes/admin-hooks.php:78
129
- msgid "Phlox RTL Fonts"
130
- msgstr ""
131
-
132
- #: admin/includes/admin-hooks.php:104
133
  msgid "Subtitle for Title Bar"
134
  msgstr ""
135
 
136
- #: admin/includes/admin-hooks.php:105
137
  msgid ""
138
  "Second Title for title bar (optional). Note: You have to enable \"Display "
139
  "Title Bar Section\" option in order to display the subtitle."
140
  msgstr ""
141
 
142
- #: admin/includes/admin-hooks.php:118
143
  msgid "Subtitle Position"
144
  msgstr ""
145
 
146
- #: admin/includes/admin-hooks.php:124
147
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:476
148
  #: includes/elementor/widgets/recent-posts-masonry.php:276
149
  #: includes/elementor/widgets/theme-elements/site-title.php:122
@@ -151,7 +147,7 @@ msgstr ""
151
  msgid "Before Title"
152
  msgstr ""
153
 
154
- #: admin/includes/admin-hooks.php:125
155
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:475
156
  #: includes/elementor/widgets/recent-posts-masonry.php:275
157
  #: includes/elementor/widgets/theme-elements/site-title.php:153
@@ -159,78 +155,78 @@ msgstr ""
159
  msgid "After Title"
160
  msgstr ""
161
 
162
- #: admin/includes/admin-hooks.php:157
163
  msgid "Upgrade Phlox"
164
  msgstr ""
165
 
166
- #: admin/includes/admin-hooks.php:175
167
  msgid "Maintenance Mode"
168
  msgstr ""
169
 
170
- #: admin/includes/admin-hooks.php:220
171
  msgid "Update Plugins"
172
  msgstr ""
173
 
174
- #: admin/includes/admin-hooks.php:221
175
  msgid "Update Plugins %s"
176
  msgstr ""
177
 
178
- #: admin/includes/admin-hooks.php:416
179
  msgid ""
180
  "Quick access to %s %sdashboard%s, %sdemo importer%s, %soptions%s, and "
181
  "%ssupport%s page."
182
  msgstr ""
183
 
184
- #: admin/includes/admin-hooks.php:419
185
  msgid "%s theme version %s"
186
  msgstr ""
187
 
188
- #: admin/includes/admin-hooks.php:421
189
  msgid "Theme Demo Importer"
190
  msgstr ""
191
 
192
- #: admin/includes/admin-hooks.php:423
193
  msgid "Theme Customizer"
194
  msgstr ""
195
 
196
- #: admin/includes/admin-hooks.php:447
197
  msgid "You are using %1$s theme version %2$s."
198
  msgstr ""
199
 
200
- #: admin/includes/admin-hooks.php:456
201
  msgid "Please support us to continue this project by rating it %s"
202
  msgstr ""
203
 
204
- #: admin/includes/admin-hooks.php:594
205
  msgid "Please make sure the image aspect ratio for all image sizes are the same."
206
  msgstr ""
207
 
208
- #: admin/includes/admin-hooks.php:650 includes/general-hooks.php:1398
209
  msgid "Footer Brand Image"
210
  msgstr ""
211
 
212
- #: admin/includes/admin-hooks.php:651 includes/general-hooks.php:1399
213
  msgid "This image appears as site brand image on footer section."
214
  msgstr ""
215
 
216
- #: admin/includes/admin-hooks.php:692
217
  msgid "Activate License"
218
  msgstr ""
219
 
220
- #: admin/includes/admin-hooks.php:697
221
  #: includes/classes/class-auxin-welcome-sections.php:548
222
  msgid "Remind Me Later"
223
  msgstr ""
224
 
225
- #: admin/includes/admin-hooks.php:781
226
  msgid "Phlox is Not Activated! to Unlock All Features Activate Now."
227
  msgstr ""
228
 
229
- #: admin/includes/admin-hooks.php:785
230
  msgid "Activate Now"
231
  msgstr ""
232
 
233
- #: admin/includes/admin-hooks.php:834
234
  msgid "Uncategorized"
235
  msgstr ""
236
 
@@ -2440,7 +2436,7 @@ msgid "Demo has been successfully uninstalled."
2440
  msgstr ""
2441
 
2442
  #: includes/classes/class-auxin-welcome.php:1408
2443
- #: public/includes/frontend-ajax.php:187 public/includes/frontend-ajax.php:250
2444
  msgid "An Error Occurred!"
2445
  msgstr ""
2446
 
@@ -12223,47 +12219,47 @@ msgstr ""
12223
  msgid "Authorization failed."
12224
  msgstr ""
12225
 
12226
- #: public/includes/frontend-ajax.php:109
12227
  msgid "Not a valid handler."
12228
  msgstr ""
12229
 
12230
- #: public/includes/frontend-ajax.php:115
12231
  msgid "No data received."
12232
  msgstr ""
12233
 
12234
- #: public/includes/frontend-ajax.php:143 public/includes/frontend-ajax.php:212
12235
  msgid "Verification failed!"
12236
  msgstr ""
12237
 
12238
- #: public/includes/frontend-ajax.php:165 public/includes/frontend-ajax.php:281
12239
  msgid "Cart is empty"
12240
  msgstr ""
12241
 
12242
- #: public/includes/frontend-ajax.php:180
12243
  msgid "Your cart is currently empty."
12244
  msgstr ""
12245
 
12246
- #: public/includes/frontend-ajax.php:181
12247
  msgid "Item has been removed from your shopping cart."
12248
  msgstr ""
12249
 
12250
- #: public/includes/frontend-ajax.php:239
12251
  msgid "View cart"
12252
  msgstr ""
12253
 
12254
- #: public/includes/frontend-ajax.php:239
12255
  msgid "has been added to your cart."
12256
  msgstr ""
12257
 
12258
- #: public/includes/frontend-ajax.php:244
12259
  msgid "Sorry, this product cannot be purchased."
12260
  msgstr ""
12261
 
12262
- #: public/includes/frontend-ajax.php:346
12263
  msgid "From %s"
12264
  msgstr ""
12265
 
12266
- #: public/includes/frontend-ajax.php:347
12267
  msgid "Nothing found in %s"
12268
  msgstr ""
12269
 
1
  # Averta Copyright (c) {2022}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.9.14\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2022-07-19 12:31:25+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
+ #: admin/includes/admin-ajax.php:7 admin/includes/admin-ajax.php:73
28
+ #: admin/includes/admin-ajax.php:97
29
  msgid "Data cannot be delivered, please try again."
30
  msgstr ""
31
 
32
+ #: admin/includes/admin-ajax.php:18 admin/includes/admin-ajax.php:79
33
+ #: admin/includes/admin-ajax.php:103
34
  msgid "Authorization failed!"
35
  msgstr ""
36
 
37
+ #: admin/includes/admin-ajax.php:57
38
  msgid "Sent Successfully. Thanks for your feedback!"
39
  msgstr ""
40
 
41
+ #: admin/includes/admin-ajax.php:60
42
  msgid "An error occurred. Feedback could not be delivered, please try again."
43
  msgstr ""
44
 
45
+ #: admin/includes/admin-ajax.php:120 admin/includes/admin-ajax.php:241
46
+ #: admin/includes/admin-ajax.php:300 admin/includes/admin-ajax.php:335
47
+ #: admin/includes/admin-ajax.php:353 admin/includes/admin-ajax.php:394
48
  msgid "Token Error."
49
  msgstr ""
50
 
51
+ #: admin/includes/admin-ajax.php:124
52
  msgid "It's Done."
53
  msgstr ""
54
 
55
+ #: admin/includes/admin-ajax.php:127
56
  msgid "An error occurred."
57
  msgstr ""
58
 
59
+ #: admin/includes/admin-ajax.php:244
60
  msgid "It's OK."
61
  msgstr ""
62
 
63
+ #: admin/includes/admin-ajax.php:257
64
  #: includes/classes/class-auxin-welcome.php:1207
65
  #: includes/classes/class-auxin-welcome.php:1212
66
  #: includes/classes/class-auxin-welcome.php:1375
67
  msgid "Security Token Error!"
68
  msgstr ""
69
 
70
+ #: admin/includes/admin-ajax.php:264
71
  msgid "License Activation"
72
  msgstr ""
73
 
74
+ #: admin/includes/admin-ajax.php:265
75
  msgid ""
76
  "Please activate your license to get automatic updates, premium support, and "
77
  "unlimited access to the template library and demo importer."
78
  msgstr ""
79
 
80
+ #: admin/includes/admin-ajax.php:268
81
  msgid "E-mail address"
82
  msgstr ""
83
 
84
+ #: admin/includes/admin-ajax.php:273
85
  msgid "Purchase code"
86
  msgstr ""
87
 
88
+ #: admin/includes/admin-ajax.php:281
89
  msgid "Activate"
90
  msgstr ""
91
 
92
+ #: admin/includes/admin-ajax.php:301 admin/includes/admin-ajax.php:316
93
  #: includes/classes/class-auxin-demo-importer.php:191
94
  msgid "Retry"
95
  msgstr ""
96
 
97
+ #: admin/includes/admin-ajax.php:312
98
  #: includes/classes/class-auxin-demo-importer.php:115
99
  #: includes/classes/class-auxin-demo-importer.php:158
100
  #: includes/classes/class-auxin-demo-importer.php:193
104
  msgid "Close"
105
  msgstr ""
106
 
107
+ #: admin/includes/admin-ajax.php:369
108
  msgid "No data found!"
109
  msgstr ""
110
 
111
+ #: admin/includes/admin-ajax.php:399
112
  msgid "Please upload a valid file."
113
  msgstr ""
114
 
115
+ #: admin/includes/admin-ajax.php:413
116
  msgid "Invalid or Empty Data."
117
  msgstr ""
118
 
119
+ #: admin/includes/admin-ajax.php:450
120
  msgid "Successfully Imported."
121
  msgstr ""
122
 
125
  msgid "Authorization failed. Please refresh the page and try again."
126
  msgstr ""
127
 
128
+ #: admin/includes/admin-hooks.php:81
 
 
 
 
129
  msgid "Subtitle for Title Bar"
130
  msgstr ""
131
 
132
+ #: admin/includes/admin-hooks.php:82
133
  msgid ""
134
  "Second Title for title bar (optional). Note: You have to enable \"Display "
135
  "Title Bar Section\" option in order to display the subtitle."
136
  msgstr ""
137
 
138
+ #: admin/includes/admin-hooks.php:95
139
  msgid "Subtitle Position"
140
  msgstr ""
141
 
142
+ #: admin/includes/admin-hooks.php:101
143
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:476
144
  #: includes/elementor/widgets/recent-posts-masonry.php:276
145
  #: includes/elementor/widgets/theme-elements/site-title.php:122
147
  msgid "Before Title"
148
  msgstr ""
149
 
150
+ #: admin/includes/admin-hooks.php:102
151
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:475
152
  #: includes/elementor/widgets/recent-posts-masonry.php:275
153
  #: includes/elementor/widgets/theme-elements/site-title.php:153
155
  msgid "After Title"
156
  msgstr ""
157
 
158
+ #: admin/includes/admin-hooks.php:134
159
  msgid "Upgrade Phlox"
160
  msgstr ""
161
 
162
+ #: admin/includes/admin-hooks.php:152
163
  msgid "Maintenance Mode"
164
  msgstr ""
165
 
166
+ #: admin/includes/admin-hooks.php:197
167
  msgid "Update Plugins"
168
  msgstr ""
169
 
170
+ #: admin/includes/admin-hooks.php:198
171
  msgid "Update Plugins %s"
172
  msgstr ""
173
 
174
+ #: admin/includes/admin-hooks.php:393
175
  msgid ""
176
  "Quick access to %s %sdashboard%s, %sdemo importer%s, %soptions%s, and "
177
  "%ssupport%s page."
178
  msgstr ""
179
 
180
+ #: admin/includes/admin-hooks.php:396
181
  msgid "%s theme version %s"
182
  msgstr ""
183
 
184
+ #: admin/includes/admin-hooks.php:398
185
  msgid "Theme Demo Importer"
186
  msgstr ""
187
 
188
+ #: admin/includes/admin-hooks.php:400
189
  msgid "Theme Customizer"
190
  msgstr ""
191
 
192
+ #: admin/includes/admin-hooks.php:424
193
  msgid "You are using %1$s theme version %2$s."
194
  msgstr ""
195
 
196
+ #: admin/includes/admin-hooks.php:433
197
  msgid "Please support us to continue this project by rating it %s"
198
  msgstr ""
199
 
200
+ #: admin/includes/admin-hooks.php:571
201
  msgid "Please make sure the image aspect ratio for all image sizes are the same."
202
  msgstr ""
203
 
204
+ #: admin/includes/admin-hooks.php:627 includes/general-hooks.php:1398
205
  msgid "Footer Brand Image"
206
  msgstr ""
207
 
208
+ #: admin/includes/admin-hooks.php:628 includes/general-hooks.php:1399
209
  msgid "This image appears as site brand image on footer section."
210
  msgstr ""
211
 
212
+ #: admin/includes/admin-hooks.php:669
213
  msgid "Activate License"
214
  msgstr ""
215
 
216
+ #: admin/includes/admin-hooks.php:674
217
  #: includes/classes/class-auxin-welcome-sections.php:548
218
  msgid "Remind Me Later"
219
  msgstr ""
220
 
221
+ #: admin/includes/admin-hooks.php:758
222
  msgid "Phlox is Not Activated! to Unlock All Features Activate Now."
223
  msgstr ""
224
 
225
+ #: admin/includes/admin-hooks.php:762
226
  msgid "Activate Now"
227
  msgstr ""
228
 
229
+ #: admin/includes/admin-hooks.php:811
230
  msgid "Uncategorized"
231
  msgstr ""
232
 
2436
  msgstr ""
2437
 
2438
  #: includes/classes/class-auxin-welcome.php:1408
2439
+ #: public/includes/frontend-ajax.php:180 public/includes/frontend-ajax.php:243
2440
  msgid "An Error Occurred!"
2441
  msgstr ""
2442
 
12219
  msgid "Authorization failed."
12220
  msgstr ""
12221
 
12222
+ #: public/includes/frontend-ajax.php:102
12223
  msgid "Not a valid handler."
12224
  msgstr ""
12225
 
12226
+ #: public/includes/frontend-ajax.php:108
12227
  msgid "No data received."
12228
  msgstr ""
12229
 
12230
+ #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:205
12231
  msgid "Verification failed!"
12232
  msgstr ""
12233
 
12234
+ #: public/includes/frontend-ajax.php:158 public/includes/frontend-ajax.php:270
12235
  msgid "Cart is empty"
12236
  msgstr ""
12237
 
12238
+ #: public/includes/frontend-ajax.php:173
12239
  msgid "Your cart is currently empty."
12240
  msgstr ""
12241
 
12242
+ #: public/includes/frontend-ajax.php:174
12243
  msgid "Item has been removed from your shopping cart."
12244
  msgstr ""
12245
 
12246
+ #: public/includes/frontend-ajax.php:232
12247
  msgid "View cart"
12248
  msgstr ""
12249
 
12250
+ #: public/includes/frontend-ajax.php:232
12251
  msgid "has been added to your cart."
12252
  msgstr ""
12253
 
12254
+ #: public/includes/frontend-ajax.php:237
12255
  msgid "Sorry, this product cannot be purchased."
12256
  msgstr ""
12257
 
12258
+ #: public/includes/frontend-ajax.php:328
12259
  msgid "From %s"
12260
  msgstr ""
12261
 
12262
+ #: public/includes/frontend-ajax.php:329
12263
  msgid "Nothing found in %s"
12264
  msgstr ""
12265
 
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.9.12 (2022-07)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.9.14 (2022-07)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
public/class-auxels.php CHANGED
@@ -304,7 +304,7 @@ class AUXELS {
304
  WHERE archived = '0' AND spam = '0'
305
  AND deleted = '0'";
306
 
307
- return $wpdb->get_col( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
308
 
309
  }
310
  /**
304
  WHERE archived = '0' AND spam = '0'
305
  AND deleted = '0'";
306
 
307
+ return $wpdb->get_col( $sql );
308
 
309
  }
310
  /**
public/includes/frontend-ajax.php CHANGED
@@ -24,14 +24,7 @@ function auxels_ajax_handler_element_load_more(){
24
  wp_send_json_error( __( 'Authorization failed.', 'auxin-elements' ) );
25
  }
26
 
27
- $ajax_args = $_POST['args'];
28
- if ( is_array( $ajax_args ) && !empty( $ajax_args ) ) {
29
- foreach ( $ajax_args as $key => $value ) {
30
- $ajax_args[ $key ] = sanitize_text_field( $value );
31
- }
32
- } else {
33
- $ajax_args = sanitize_text_field( $ajax_args );
34
- }
35
  $element_markup = '';
36
 
37
  // include the required resources
@@ -148,7 +141,7 @@ function auxels_remove_product_from_cart() {
148
 
149
  $cart->calculate_totals();
150
 
151
- $args = !empty( $_POST['args'] ) ? $_POST['args'] : array(
152
  'title' => '',
153