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 | modules/flow/templates/template-default.php +11 -2 1.1.17 → 3.3.0 View file →
@@ -4,8 +4,12 @@
4 4 *
5 5 * @package CartFlows
6 6 */
7 7
8 +// Exit if accessed directly.
9 +if ( ! defined( 'ABSPATH' ) ) {
10 + exit;
11 +}
8 12 ?>
9 13
10 14 <!DOCTYPE html>
11 15 <html <?php language_attributes(); ?> class="no-js">
@@ -17,16 +21,21 @@
17 21 </head>
18 22
19 23 <body <?php body_class(); ?>>
20 24
21 - <?php do_action( 'cartflows_body_top' ); ?>
25 + <?php
26 + wp_body_open();
22 27
28 + do_action( 'cartflows_body_top' );
29 + ?>
30 +
23 31 <?php
24 32
25 33 $atts_string = Cartflows_Helper::get_cartflows_container_atts();
26 34
27 35 ?>
28 - <div class="cartflows-container" <?php echo trim( $atts_string ); ?>>
36 + <?php // HTML attributes are already sanitized individually. ?>
37 + <div class="cartflows-container" <?php echo trim( $atts_string ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
29 38 <?php
30 39 do_action( 'cartflows_container_top' );
31 40 ?>
32 41 <div class="cartflows-primary">