PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
← All changes | admin-core/inc/admin-helper.php +2 -9 3.1.1 → 3.3.0 View file →
@@ -724,15 +724,8 @@
724 724 $steps[ $in ]['menu_actions'] = self::get_step_actions( $flow_id, $step_id, 'menu' );
725 725
726 726 $steps[ $in ]['page_builder_edit'] = \Cartflows_Helper::get_page_builder_edit_link( $step_id );
727 727
728 - if ( 'checkout' === $step['type'] ) {
729 - $order_bumps = get_post_meta( $step_id, 'wcf-order-bumps', true );
730 - $order_bumps = is_array( $order_bumps ) ? array_values( $order_bumps ) : array();
731 - $steps[ $in ]['order_bumps'] = $order_bumps;
732 - $steps[ $in ]['order_bump_count'] = count( $order_bumps );
733 - }
734 -
735 728 /* Add variation data */
736 729 if ( ! empty( $steps[ $in ]['ab-test-variations'] ) ) {
737 730
738 731 $ab_test_variations = $steps[ $in ]['ab-test-variations'];
@@ -1170,9 +1163,9 @@
1170 1163 $error_code = $response->get_error_code();
1171 1164
1172 1165 if ( 'http_request_failed' === $error_code ) {
1173 1166 /* translators: %1$s: HTML, %2$s: HTML */
1174 - $msg = $msg . '<br>' . sprintf( __( 'Request timeout error. Please check if the firewall or any security plugin is blocking the outgoing HTTP/HTTPS requests to templates.cartflows.com or not. %1$1sTo resolve this issue, please check this %2$2sarticle%3$3s.', 'cartflows' ), '<br><br>', '<a target="_blank" href="https://cartflows.com/docs/request-timeout-error-while-importing-the-flow-step-templates/?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=docs">', '</a>' );
1167 + $msg = $msg . '<br>' . sprintf( __( 'Request timeout error. Please check if the firewall or any security plugin is blocking the outgoing HTTP/HTTPS requests to templates.cartflows.com or not. %1$1sTo resolve this issue, please check this %2$2sarticle%3$3s.', 'cartflows' ), '<br><br>', '<a target="_blank" href="' . esc_url( \Cartflows_Helper::get_kb_doc_link( 'https://cartflows.com/docs/request-timeout-error-while-importing-the-flow-step-templates/' ) ) . '">', '</a>' );
1175 1168 }
1176 1169
1177 1170 $result['error'] = true;
1178 1171 $result['call_to_action'] = $msg;
@@ -1184,9 +1177,9 @@
1184 1177 $error_body = ! empty( wp_remote_retrieve_body( $response ) ) ? wp_kses( wp_remote_retrieve_body( $response ), '<p>' ) : '';
1185 1178
1186 1179 if ( false !== strpos( $error_body, 'MalCare' ) ) {
1187 1180 /* translators: %1$s: HTML, %2$s: HTML, %3$s: HTML */
1188 - $error_message = $error_message . '<br>' . sprintf( __( 'Sorry for the inconvenience, but your website seems to be having trouble connecting to our server. %1$s Please open a technical %2$ssupport ticket%3$s and share the server\'s outgoing IP address.', 'cartflows' ), '<br><br>', '<a href="https://cartflows.com/support?utm_source=dashboard&utm_medium=free-cartflows&utm_campaign=support" target="_blank">', '</a>' );
1181 + $error_message = $error_message . '<br>' . sprintf( __( 'Sorry for the inconvenience, but your website seems to be having trouble connecting to our server. %1$s Please open a technical %2$ssupport ticket%3$s and share the server\'s outgoing IP address.', 'cartflows' ), '<br><br>', '<a href="' . esc_url( \Cartflows_Helper::get_utm_url( 'https://cartflows.com/support', array( 'utm_campaign' => 'support' ) ) ) . '" target="_blank">', '</a>' );
1189 1182 $ip_address = self::get_valid_ip_address();
1190 1183 $result['message'] = ! empty( $ip_address ) ? __( 'Server\'s outgoing IP address: ', 'cartflows' ) . $ip_address : '';
1191 1184 }
1192 1185