Version Description
Download this release
Release Info
Developer | averta |
Plugin | Shortcodes and extra features for Phlox theme |
Version | 2.6.15 |
Comparing to | |
See all releases |
Code changes from version 2.6.14 to 2.6.15
- README.txt +1 -1
- admin/assets/js/plugins.js +1 -1
- auxin-elements.php +2 -2
- includes/classes/class-auxin-demo-importer.php +31 -31
- includes/define.php +1 -1
- languages/auxin-elements-fa_IR.po +1 -1
- languages/auxin-elements.pot +2 -2
- public/assets/js/plugins.js +1 -1
- public/assets/js/scripts.js +4 -0
README.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, fram
|
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 4.6
|
9 |
Tested up to: 5.5.0
|
10 |
-
Stable tag: 2.6.
|
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: 5.5.0
|
10 |
+
Stable tag: 2.6.15
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
admin/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Phlox Core Plugin - v2.6.
|
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.6.15 (2020-09)
|
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.6.
|
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: 5.5.
|
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.6.15
|
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: 5.5.1
|
23 |
*/
|
24 |
|
25 |
// If this file is called directly, abort.
|
includes/classes/class-auxin-demo-importer.php
CHANGED
@@ -911,6 +911,37 @@ class Auxin_Demo_Importer {
|
|
911 |
|
912 |
}
|
913 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
if ( ! empty( $post['post_meta'] ) ){
|
915 |
// Add post meta data
|
916 |
foreach ( $post['post_meta'] as $meta_key => $meta_value ) {
|
@@ -964,37 +995,6 @@ class Auxin_Demo_Importer {
|
|
964 |
}
|
965 |
}
|
966 |
|
967 |
-
// Set default_form_id for mailchimp plugin
|
968 |
-
if( $post['post_type'] == 'mc4wp-form' ){
|
969 |
-
// set default_form_id
|
970 |
-
update_option( 'mc4wp_default_form_id', $post_id, false );
|
971 |
-
}
|
972 |
-
|
973 |
-
if ( ! empty( $post['post_comments'] ) ){
|
974 |
-
// Add post comments
|
975 |
-
foreach ( $post['post_comments'] as $comment_key => $comment_values ) {
|
976 |
-
$comment_values['data']['comment_post_ID'] = $post_id;
|
977 |
-
$comment_old_ID = $comment_values['data']['comment_ID'];
|
978 |
-
|
979 |
-
if ( $comment_values['data']['comment_parent'] != 0 ) {
|
980 |
-
$comment_values['data']['comment_parent'] = auxin_get_transient( 'auxin_comment_new_comment_id_' . $comment_values['data']['comment_parent'] );
|
981 |
-
}
|
982 |
-
|
983 |
-
unset( $comment_values['data']['comment_ID'] );
|
984 |
-
$comment_ID = wp_insert_comment( $comment_values['data'] );
|
985 |
-
if ( is_wp_error( $comment_ID ) ) {
|
986 |
-
continue;
|
987 |
-
} else {
|
988 |
-
if( ! empty( $comment_values['meta'] ) ){
|
989 |
-
foreach ($comment_values['meta'] as $meta_key => $meta_value) {
|
990 |
-
update_comment_meta( $comment_ID, $meta_key, $meta_value );
|
991 |
-
}
|
992 |
-
}
|
993 |
-
auxin_set_transient( 'auxin_comment_new_comment_id_' . $comment_old_ID, $comment_ID );
|
994 |
-
}
|
995 |
-
}
|
996 |
-
}
|
997 |
-
|
998 |
//Add auxin meta flag
|
999 |
add_post_meta( $post_id, 'auxin_import_post', $post['ID'] );
|
1000 |
|
911 |
|
912 |
}
|
913 |
|
914 |
+
// Set default_form_id for mailchimp plugin
|
915 |
+
if( $post['post_type'] == 'mc4wp-form' ){
|
916 |
+
// set default_form_id
|
917 |
+
update_option( 'mc4wp_default_form_id', $post_id, false );
|
918 |
+
}
|
919 |
+
|
920 |
+
if ( ! empty( $post['post_comments'] ) ){
|
921 |
+
// Add post comments
|
922 |
+
foreach ( $post['post_comments'] as $comment_key => $comment_values ) {
|
923 |
+
$comment_values['data']['comment_post_ID'] = $post_id;
|
924 |
+
$comment_old_ID = $comment_values['data']['comment_ID'];
|
925 |
+
|
926 |
+
if ( $comment_values['data']['comment_parent'] != 0 ) {
|
927 |
+
$comment_values['data']['comment_parent'] = auxin_get_transient( 'auxin_comment_new_comment_id_' . $comment_values['data']['comment_parent'] );
|
928 |
+
}
|
929 |
+
|
930 |
+
unset( $comment_values['data']['comment_ID'] );
|
931 |
+
$comment_ID = wp_insert_comment( $comment_values['data'] );
|
932 |
+
if ( is_wp_error( $comment_ID ) ) {
|
933 |
+
continue;
|
934 |
+
} else {
|
935 |
+
if( ! empty( $comment_values['meta'] ) ){
|
936 |
+
foreach ($comment_values['meta'] as $meta_key => $meta_value) {
|
937 |
+
update_comment_meta( $comment_ID, $meta_key, $meta_value );
|
938 |
+
}
|
939 |
+
}
|
940 |
+
auxin_set_transient( 'auxin_comment_new_comment_id_' . $comment_old_ID, $comment_ID );
|
941 |
+
}
|
942 |
+
}
|
943 |
+
}
|
944 |
+
|
945 |
if ( ! empty( $post['post_meta'] ) ){
|
946 |
// Add post meta data
|
947 |
foreach ( $post['post_meta'] as $meta_key => $meta_value ) {
|
995 |
}
|
996 |
}
|
997 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
998 |
//Add auxin meta flag
|
999 |
add_post_meta( $post_id, 'auxin_import_post', $post['ID'] );
|
1000 |
|
includes/define.php
CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
|
|
12 |
}
|
13 |
|
14 |
|
15 |
-
define( 'AUXELS_VERSION' , '2.6.
|
16 |
|
17 |
define( 'AUXELS_SLUG' , 'auxin-elements' );
|
18 |
|
12 |
}
|
13 |
|
14 |
|
15 |
+
define( 'AUXELS_VERSION' , '2.6.15' );
|
16 |
|
17 |
define( 'AUXELS_SLUG' , 'auxin-elements' );
|
18 |
|
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: 2020-09-
|
6 |
"PO-Revision-Date: 2016-11-09 12:50+0330\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Auxin Essential Elements\n"
|
4 |
"Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
|
5 |
+
"POT-Creation-Date: 2020-09-12 12:58:57+00:00\n"
|
6 |
"PO-Revision-Date: 2016-11-09 12:50+0330\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
languages/auxin-elements.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
# Averta Copyright (c) {2020}
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
-
"Project-Id-Version: Phlox Core Elements 2.6.
|
5 |
"Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
|
6 |
-
"POT-Creation-Date: 2020-09-
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
1 |
# Averta Copyright (c) {2020}
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project-Id-Version: Phlox Core Elements 2.6.15\n"
|
5 |
"Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
|
6 |
+
"POT-Creation-Date: 2020-09-12 12:58:57+00:00\n"
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=utf-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
public/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Phlox Core Plugin - v2.6.
|
2 |
* All required plugins
|
3 |
* http://phlox.pro/
|
4 |
*/
|
1 |
+
/*! Phlox Core Plugin - v2.6.15 (2020-09)
|
2 |
* All required plugins
|
3 |
* http://phlox.pro/
|
4 |
*/
|
public/assets/js/scripts.js
CHANGED
@@ -148,4 +148,8 @@
|
|
148 |
|
149 |
$('body').AuxinCartAnimationHandler();
|
150 |
|
|
|
|
|
|
|
|
|
151 |
})(jQuery,window,document);
|
148 |
|
149 |
$('body').AuxinCartAnimationHandler();
|
150 |
|
151 |
+
$(document.body).on( 'wc_cart_emptied', function(){
|
152 |
+
$('.aux-shopping-basket .aux-cart-contents span').html('0');
|
153 |
+
});
|
154 |
+
|
155 |
})(jQuery,window,document);
|