PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.3.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.3.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 1.8.1 All 42 releases
← All changes | includes/admin/settings/class-settings.php +8 -0 1.7.92.3.0 View file →
@@ -66,8 +66,14 @@
66 66
67 67 if ( 'delete_data' === $option ) {
68 68 update_site_option( 'delete_data', $safe_value );
69 69 }
70 +
71 + if ( 'funnel_permalink_base' === $option ) {
72 + $permalink_base = empty( $safe_value ) ? 'sellkit_step' : $safe_value;
73 +
74 + update_option( 'sellkit_funnel_permalink_base', $permalink_base );
75 + }
70 76 }
71 77
72 78 wp_send_json_success( __( 'The update process has been completed.', 'sellkit' ) );
73 79 }
@@ -114,8 +120,10 @@
114 120 *
115 121 * @since 1.1.0
116 122 */
117 123 public function remove_content_box() {
124 + check_ajax_referer( 'sellkit', 'nonce' );
125 +
118 126 $new_content_box_id = sellkit_htmlspecialchars( INPUT_POST, 'content_box_id' );
119 127 $removed_content_box_data = sellkit_get_option( 'removed_content_box_data' );
120 128 $removed_content_box_data = empty( $removed_content_box_data ) ? [] : $removed_content_box_data;
121 129 $new_removed_content_box_data = array_merge( $removed_content_box_data, [ $new_content_box_id ] );