PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
← All changes | includes/funnel/steps/upsell.php +10 -0 1.6.82.7.0 View file →
@@ -14,8 +14,16 @@
14 14 * @since 1.1.0
15 15 */
16 16 class Upsell {
17 17 /**
18 + * Current funnel.
19 + *
20 + * @since 1.8.6
21 + * @var Sellkit_Funnel
22 + */
23 + public $funnel;
24 +
25 + /**
18 26 * Upsell constructor.
19 27 *
20 28 * @since 1.1.0
21 29 */
@@ -32,8 +40,10 @@
32 40 * @since 1.1.0
33 41 * @SuppressWarnings(PHPMD.NPathComplexity)
34 42 */
35 43 public function upsell_handler() {
44 + check_ajax_referer( 'sellkit_elementor', 'nonce' );
45 +
36 46 $order_key = sellkit_htmlspecialchars( INPUT_POST, 'order_key' );
37 47 $offer_type = sellkit_htmlspecialchars( INPUT_POST, 'offer_type' );
38 48
39 49 if ( empty( $order_key ) ) {