Shortcodes and extra features for Phlox theme - Version 2.10.5

Version Description

Download this release

Release Info

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

Code changes from version 2.10.3 to 2.10.5

README.txt CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: phlox, gallery, elementor, auxin, averta, auxin-elements, framework, widget, fullwidth, masonry, timeline, parallax
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
- Tested up to: 6.0.1
10
- Stable tag: 2.10.3
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -154,6 +154,10 @@ Bugs can be reported in our [support forums](https://docs.phlox.pro).
154
 
155
  == Changelog ==
156
 
 
 
 
 
157
  = Version 2.10.1 / (22.08.2022) =
158
  - [Fix]: An issue with import of background image for Depicter slider fixed.
159
  - [Fix]: An issue with some notices while saving a page with Elementor fixed.
6
  Tags: phlox, gallery, elementor, auxin, averta, auxin-elements, framework, widget, fullwidth, masonry, timeline, parallax
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
+ Tested up to: 6.0.2
10
+ Stable tag: 2.10.5
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
154
 
155
  == Changelog ==
156
 
157
+ = Version 2.10.5 / (11.10.2022) =
158
+ - [Fix]: An issue with Google map element fixed.
159
+ - [Improvement]: Some improvements applied to demo importer.
160
+
161
  = Version 2.10.1 / (22.08.2022) =
162
  - [Fix]: An issue with import of background image for Depicter slider fixed.
163
  - [Fix]: An issue with some notices while saving a page with Elementor fixed.
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.10.3 (2022-08)
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.10.5 (2022-10)
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!
auxin-elements.php CHANGED
@@ -12,14 +12,14 @@
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.10.3
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
- * Tested up to: 6.0.1
23
  */
24
 
25
  // If this file is called directly, abort.
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.10.5
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
+ * Tested up to: 6.0.2
23
  */
24
 
25
  // If this file is called directly, abort.
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -1175,13 +1175,14 @@ class Auxin_Demo_Importer {
1175
  }
1176
 
1177
  // Change posts's id in flexible recent posts element
1178
- preg_match_all( '/only_posts__in":"[\d,]*/', $elementor_data, $post_id_strings, PREG_SET_ORDER );
1179
  if ( ! empty( $post_id_strings ) ) {
1180
  foreach ( $post_id_strings as $key => $post_id_string ) {
1181
  $old_ids = str_replace( 'only_posts__in":"', '', $post_id_string[0] );
1182
  $old_ids = explode( ',', $old_ids );
1183
  $new_id = [];
1184
  foreach( $old_ids as $key => $id ) {
 
1185
  $new_id[] = auxin_get_transient( "aux-post-{$id}-changs-to" );
1186
  }
1187
  $new_id = implode(',', $new_id );
1175
  }
1176
 
1177
  // Change posts's id in flexible recent posts element
1178
+ preg_match_all( '/only_posts__in":"[\d,\s]*/', $elementor_data, $post_id_strings, PREG_SET_ORDER );
1179
  if ( ! empty( $post_id_strings ) ) {
1180
  foreach ( $post_id_strings as $key => $post_id_string ) {
1181
  $old_ids = str_replace( 'only_posts__in":"', '', $post_id_string[0] );
1182
  $old_ids = explode( ',', $old_ids );
1183
  $new_id = [];
1184
  foreach( $old_ids as $key => $id ) {
1185
+ $id=trim($id);
1186
  $new_id[] = auxin_get_transient( "aux-post-{$id}-changs-to" );
1187
  }
1188
  $new_id = implode(',', $new_id );
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.10.3' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.10.5' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
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 wp_kses_post( $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 $style; ?>,
312
  mapTypeId: "aux_map_style"
313
  });
314
 
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-08-30 05:21:42+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -1986,7 +1986,7 @@ msgid "Importing Media"
1986
  msgstr ""
1987
 
1988
  #: includes/classes/class-auxin-demo-importer.php:294
1989
- #: includes/classes/class-auxin-demo-importer.php:1302
1990
  msgid "Importing Users"
1991
  msgstr ""
1992
 
@@ -2017,11 +2017,11 @@ msgstr ""
2017
  msgid "Importing Sliders"
2018
  msgstr ""
2019
 
2020
- #: includes/classes/class-auxin-demo-importer.php:1379
2021
  msgid "Preparing Site ..."
2022
  msgstr ""
2023
 
2024
- #: includes/classes/class-auxin-demo-importer.php:1421
2025
  msgid "All steps are successful"
2026
  msgstr ""
2027
 
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-10-11 08:19:12+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
1986
  msgstr ""
1987
 
1988
  #: includes/classes/class-auxin-demo-importer.php:294
1989
+ #: includes/classes/class-auxin-demo-importer.php:1303
1990
  msgid "Importing Users"
1991
  msgstr ""
1992
 
2017
  msgid "Importing Sliders"
2018
  msgstr ""
2019
 
2020
+ #: includes/classes/class-auxin-demo-importer.php:1380
2021
  msgid "Preparing Site ..."
2022
  msgstr ""
2023
 
2024
+ #: includes/classes/class-auxin-demo-importer.php:1422
2025
  msgid "All steps are successful"
2026
  msgstr ""
2027
 
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.10.3\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2022-08-30 05:21:42+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -1862,7 +1862,7 @@ msgid "Importing Media"
1862
  msgstr ""
1863
 
1864
  #: includes/classes/class-auxin-demo-importer.php:294
1865
- #: includes/classes/class-auxin-demo-importer.php:1302
1866
  msgid "Importing Users"
1867
  msgstr ""
1868
 
@@ -1892,11 +1892,11 @@ msgstr ""
1892
  msgid "Importing Sliders"
1893
  msgstr ""
1894
 
1895
- #: includes/classes/class-auxin-demo-importer.php:1379
1896
  msgid "Preparing Site ..."
1897
  msgstr ""
1898
 
1899
- #: includes/classes/class-auxin-demo-importer.php:1421
1900
  msgid "All steps are successful"
1901
  msgstr ""
1902
 
1
  # Averta Copyright (c) {2022}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.10.5\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2022-10-11 08:19:12+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
1862
  msgstr ""
1863
 
1864
  #: includes/classes/class-auxin-demo-importer.php:294
1865
+ #: includes/classes/class-auxin-demo-importer.php:1303
1866
  msgid "Importing Users"
1867
  msgstr ""
1868
 
1892
  msgid "Importing Sliders"
1893
  msgstr ""
1894
 
1895
+ #: includes/classes/class-auxin-demo-importer.php:1380
1896
  msgid "Preparing Site ..."
1897
  msgstr ""
1898
 
1899
+ #: includes/classes/class-auxin-demo-importer.php:1422
1900
  msgid "All steps are successful"
1901
  msgstr ""
1902
 
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.10.3 (2022-08)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.10.5 (2022-10)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */