Version Description
Download this release
Release Info
Developer | cartflowswp |
Plugin | Funnel Builder by CartFlows – Create High Converting Sales Funnels For WordPress |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- cartflows.php +1 -1
- changelog.txt +3 -0
- classes/class-cartflows-loader.php +1 -1
- classes/class-cartflows-logger.php +13 -6
- classes/logger/class-cartflows-log-handler-file.php +7 -3
- readme.txt +4 -1
cartflows.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: CartFlows
|
4 |
* Plugin URI: https://cartflows.com/
|
5 |
* Description: Create beautiful checkout pages & sales flows for WooCommerce.
|
6 |
-
* Version: 1.7.
|
7 |
* Author: CartFlows Inc
|
8 |
* Author URI: https://cartflows.com/
|
9 |
* Text Domain: cartflows
|
3 |
* Plugin Name: CartFlows
|
4 |
* Plugin URI: https://cartflows.com/
|
5 |
* Description: Create beautiful checkout pages & sales flows for WooCommerce.
|
6 |
+
* Version: 1.7.2
|
7 |
* Author: CartFlows Inc
|
8 |
* Author URI: https://cartflows.com/
|
9 |
* Text Domain: cartflows
|
changelog.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
Version 1.7.1 - Monday, 20th September 2021
|
2 |
- Fix: Vertical navigation in step and flow setting was not working for RTL and translation.
|
3 |
- Fix: Showing blank screen if the step title is blank.
|
1 |
+
Version 1.7.2 - Tuesday, 14th December 2021
|
2 |
+
- Improvement: Starter templates compatibility added.
|
3 |
+
|
4 |
Version 1.7.1 - Monday, 20th September 2021
|
5 |
- Fix: Vertical navigation in step and flow setting was not working for RTL and translation.
|
6 |
- Fix: Showing blank screen if the step title is blank.
|
classes/class-cartflows-loader.php
CHANGED
@@ -140,7 +140,7 @@ if ( ! class_exists( 'Cartflows_Loader' ) ) {
|
|
140 |
define( 'CARTFLOWS_DIR', plugin_dir_path( CARTFLOWS_FILE ) );
|
141 |
define( 'CARTFLOWS_URL', plugins_url( '/', CARTFLOWS_FILE ) );
|
142 |
|
143 |
-
define( 'CARTFLOWS_VER', '1.7.
|
144 |
define( 'CARTFLOWS_SLUG', 'cartflows' );
|
145 |
define( 'CARTFLOWS_SETTINGS', 'cartflows_settings' );
|
146 |
define( 'CARTFLOWS_NAME', 'CartFlows' );
|
140 |
define( 'CARTFLOWS_DIR', plugin_dir_path( CARTFLOWS_FILE ) );
|
141 |
define( 'CARTFLOWS_URL', plugins_url( '/', CARTFLOWS_FILE ) );
|
142 |
|
143 |
+
define( 'CARTFLOWS_VER', '1.7.2' );
|
144 |
define( 'CARTFLOWS_SLUG', 'cartflows' );
|
145 |
define( 'CARTFLOWS_SETTINGS', 'cartflows_settings' );
|
146 |
define( 'CARTFLOWS_NAME', 'CartFlows' );
|
classes/class-cartflows-logger.php
CHANGED
@@ -61,6 +61,15 @@ class Cartflows_Logger {
|
|
61 |
}
|
62 |
}
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
/**
|
65 |
* Write log
|
66 |
*
|
@@ -70,9 +79,7 @@ class Cartflows_Logger {
|
|
70 |
*/
|
71 |
public function log( $message, $level = 'info' ) {
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
if ( 'enable' === $enable_log &&
|
76 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
77 |
did_action( 'plugins_loaded' )
|
78 |
) {
|
@@ -90,7 +97,7 @@ class Cartflows_Logger {
|
|
90 |
*/
|
91 |
public function import_log( $message, $level = 'info' ) {
|
92 |
|
93 |
-
if ( defined( 'WP_DEBUG' ) &&
|
94 |
WP_DEBUG &&
|
95 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
96 |
did_action( 'plugins_loaded' )
|
@@ -109,7 +116,7 @@ class Cartflows_Logger {
|
|
109 |
*/
|
110 |
public function migration_log( $message, $level = 'info' ) {
|
111 |
|
112 |
-
if ( defined( 'WP_DEBUG' ) &&
|
113 |
WP_DEBUG &&
|
114 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
115 |
did_action( 'plugins_loaded' )
|
@@ -128,7 +135,7 @@ class Cartflows_Logger {
|
|
128 |
*/
|
129 |
public function sync_log( $message, $level = 'info' ) {
|
130 |
|
131 |
-
if ( defined( 'WP_DEBUG' ) &&
|
132 |
WP_DEBUG &&
|
133 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
134 |
did_action( 'plugins_loaded' )
|
61 |
}
|
62 |
}
|
63 |
|
64 |
+
/**
|
65 |
+
* Enable log.
|
66 |
+
*
|
67 |
+
* @since 1.7.2
|
68 |
+
*/
|
69 |
+
public function is_log_enable() {
|
70 |
+
return apply_filters( 'cartflows_enable_log', 'enable' );
|
71 |
+
}
|
72 |
+
|
73 |
/**
|
74 |
* Write log
|
75 |
*
|
79 |
*/
|
80 |
public function log( $message, $level = 'info' ) {
|
81 |
|
82 |
+
if ( 'enable' === $this->is_log_enable() &&
|
|
|
|
|
83 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
84 |
did_action( 'plugins_loaded' )
|
85 |
) {
|
97 |
*/
|
98 |
public function import_log( $message, $level = 'info' ) {
|
99 |
|
100 |
+
if ( 'enable' === $this->is_log_enable() && defined( 'WP_DEBUG' ) &&
|
101 |
WP_DEBUG &&
|
102 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
103 |
did_action( 'plugins_loaded' )
|
116 |
*/
|
117 |
public function migration_log( $message, $level = 'info' ) {
|
118 |
|
119 |
+
if ( 'enable' === $this->is_log_enable() && defined( 'WP_DEBUG' ) &&
|
120 |
WP_DEBUG &&
|
121 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
122 |
did_action( 'plugins_loaded' )
|
135 |
*/
|
136 |
public function sync_log( $message, $level = 'info' ) {
|
137 |
|
138 |
+
if ( 'enable' === $this->is_log_enable() && defined( 'WP_DEBUG' ) &&
|
139 |
WP_DEBUG &&
|
140 |
is_a( $this->logger, 'CartFlows_WC_Logger' ) &&
|
141 |
did_action( 'plugins_loaded' )
|
classes/logger/class-cartflows-log-handler-file.php
CHANGED
@@ -144,10 +144,14 @@ class Cartflows_Log_Handler_File extends Cartflows_Log_Handler {
|
|
144 |
if ( $file ) {
|
145 |
if ( ! file_exists( $file ) ) {
|
146 |
$temphandle = @fopen( $file, 'w+' ); // @codingStandardsIgnoreLine.
|
147 |
-
@fclose( $temphandle ); // @codingStandardsIgnoreLine.
|
148 |
|
149 |
-
if (
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
}
|
153 |
|
144 |
if ( $file ) {
|
145 |
if ( ! file_exists( $file ) ) {
|
146 |
$temphandle = @fopen( $file, 'w+' ); // @codingStandardsIgnoreLine.
|
|
|
147 |
|
148 |
+
if ( is_resource( $temphandle ) ) {
|
149 |
+
|
150 |
+
@fclose( $temphandle ); // @codingStandardsIgnoreLine.
|
151 |
+
|
152 |
+
if ( defined( 'FS_CHMOD_FILE' ) ) {
|
153 |
+
@chmod( $file, FS_CHMOD_FILE ); // @codingStandardsIgnoreLine.
|
154 |
+
}
|
155 |
}
|
156 |
}
|
157 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: sujaypawar, wpcrafter
|
|
3 |
Tags: woocommerce, funnel builder, sales funnels, elementor, beaver builder
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 5.8.1
|
6 |
-
Stable tag: 1.7.
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -126,6 +126,9 @@ Glad you asked! Most normal users have less than 3 funnels on a single website,
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
129 |
= Version 1.7.1 - Monday, 20th September 2021 =
|
130 |
* Fix: Vertical navigation in step and flow setting was not working for RTL and translation.
|
131 |
* Fix: Showing blank screen if the step title is blank.
|
3 |
Tags: woocommerce, funnel builder, sales funnels, elementor, beaver builder
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 5.8.1
|
6 |
+
Stable tag: 1.7.2
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= Version 1.7.2 - Tuesday, 14th December 2021 =
|
130 |
+
* Improvement: Starter templates compatibility added.
|
131 |
+
|
132 |
= Version 1.7.1 - Monday, 20th September 2021 =
|
133 |
* Fix: Vertical navigation in step and flow setting was not working for RTL and translation.
|
134 |
* Fix: Showing blank screen if the step title is blank.
|