Shortcodes and extra features for Phlox theme - Version 2.9.15

Version Description

Download this release

Release Info

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

Code changes from version 2.9.14 to 2.9.15

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.14
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.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.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!
1
+ /*! Phlox Core Plugin - v2.9.15 (2022-07)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
admin/includes/classes/class-auxels-plugin-check-update.php DELETED
@@ -1,155 +0,0 @@
1
- <?php
2
- /**
3
- *
4
- *
5
- * @package Auxin
6
- * @license LICENSE.txt
7
- * @author averta
8
- * @link http://phlox.pro/
9
- * @copyright (c) 2010-2022 averta
10
- */
11
-
12
- // no direct access allowed
13
- if ( ! defined('ABSPATH') ) {
14
- die();
15
- }
16
-
17
-
18
- class AUXELS_Plugin_Check_Update {
19
- /**
20
- * The plugin current version
21
- * @var string
22
- */
23
- public $current_version;
24
-
25
- /**
26
- * The plugin remote update path
27
- * @var string
28
- */
29
- public $update_path;
30
-
31
- /**
32
- * Plugin Slug (plugin_directory/plugin_file.php)
33
- * @var string
34
- */
35
- public $plugin_slug;
36
-
37
- /**
38
- * Plugin name (plugin_file)
39
- * @var string
40
- */
41
- public $slug;
42
-
43
- /**
44
- * The item name while requesting to update api
45
- * @var string
46
- */
47
- public $request_name;
48
-
49
- /**
50
- * The item ID in marketplace
51
- * @var string
52
- */
53
- public $plugin_id;
54
-
55
-
56
- /**
57
- * The item name while requesting to update api
58
- * @var string
59
- */
60
- public $plugin_file_path;
61
-
62
- /**
63
- * The item name while requesting to update api
64
- * @var string
65
- */
66
- public $banners;
67
-
68
-
69
- /**
70
- * Initialize a new instance of the WordPress Auto-Update class
71
- * @param string $current_version
72
- * @param string $update_path
73
- * @param string $plugin_slug
74
- * @param string $slug
75
- */
76
- public function __construct( $current_version, $update_path, $plugin_slug, $slug, $item_request_name = '' ) {
77
- // Set the class public variables
78
- $this->current_version = $current_version;
79
- $this->update_path = $update_path;
80
- $this->plugin_slug = $plugin_slug;
81
- $this->slug = $slug;
82
-
83
- $this->request_name = empty( $item_request_name ) ? $this->slug : $item_request_name;
84
-
85
- // define the alternative API for checking for updates
86
- add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
87
- }
88
-
89
-
90
- /**
91
- * Check the plugin version on update plugin transient expired
92
- *
93
- * @param $transient
94
- * @return object $ transient
95
- */
96
- public function check_update( $transient ) {
97
- // Get the remote version
98
- $remote_version = $this->get_remote_version();
99
-
100
- return $transient;
101
- }
102
-
103
-
104
- /**
105
- * Return the remote version
106
- * @return string $remote_version
107
- */
108
- public function get_remote_version() {
109
- global $wp_version;
110
-
111
- $theme_data = wp_get_theme();
112
- if( is_child_theme() ) {
113
- $theme_data = wp_get_theme( $theme_data->template );
114
- }
115
-
116
- if ( ! function_exists( 'get_plugins' ) ) {
117
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
118
- }
119
- $all_plugins = get_plugins();
120
- if( ! isset( $all_plugins[ $this->plugin_slug ] ) || empty( $all_plugins[ $this->plugin_slug ] ) ){
121
- return;
122
- }
123
-
124
- $this_plugin = $all_plugins[ $this->plugin_slug ];
125
- if( ! is_array( $this_plugin ) ){
126
- $this_plugin = array();
127
- }
128
- $this_plugin['ID'] = $this->plugin_id;
129
- $this_plugin['Name'] = defined('THEME_NAME') ? THEME_NAME : 'Phlox';
130
- $this_plugin['Theme'] = $theme_data->Name;
131
- $this_plugin['Version'] = defined('THEME_VERSION') ? THEME_VERSION : $theme_data->Version;
132
- $this_plugin['Slug'] = defined('THEME_ID') ? THEME_ID : $this->slug;
133
- $this_plugin['Activated'] = 0;
134
- $this_plugin['client_key'] = get_theme_mod( 'client_key', '');
135
-
136
- $args = array(
137
- 'user-agent' => 'WordPress/'.$wp_version.'; '. get_site_url(),
138
- 'timeout' => ( ( defined('DOING_CRON') && DOING_CRON ) ? 30 : 3),
139
- 'body' => array(
140
- 'cat' => 'version-check',
141
- 'action' => 'final',
142
- 'type' => 'plugin',
143
- 'item-name' => $this->request_name,
144
- 'item-info' => $this_plugin
145
- )
146
- );
147
- $args = apply_filters( 'auxels_version_check_args', $args );
148
- $request = wp_remote_post( $this->update_path, $args );
149
-
150
- if ( ! is_wp_error( $request ) || wp_remote_retrieve_response_code( $request ) === 200 ) {
151
- return $request['body'];
152
- }
153
- return false;
154
- }
155
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.14
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
+ * Version: 2.9.15
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.9.14' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.9.15' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elements/contact-form.php CHANGED
@@ -176,7 +176,7 @@ function auxin_widget_contact_form_callback( $atts, $shortcode_content = null ){
176
  $hasError = true;
177
  } else {
178
  if(function_exists('stripslashes')) {
179
- $comment = stripslashes(trim($_POST['cComment']));
180
  } else {
181
  $comment = trim( sanitize_text_field( $_POST['cComment'] ) );
182
  }
176
  $hasError = true;
177
  } else {
178
  if(function_exists('stripslashes')) {
179
+ $comment = stripslashes( trim( sanitize_text_field( $_POST['cComment'] ) ) );
180
  } else {
181
  $comment = trim( sanitize_text_field( $_POST['cComment'] ) );
182
  }
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-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"
2
  msgstr ""
3
  "Project-Id-Version: Auxin Essential Elements\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
+ "POT-Creation-Date: 2022-07-20 05:59:39+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
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.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"
1
  # Averta Copyright (c) {2022}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.9.15\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2022-07-20 05:59:39+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.9.14 (2022-07)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.9.15 (2022-07)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */