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/class-steps.php +9 -1 1.7.92.3.0 View file →
@@ -91,9 +91,9 @@
91 91 return [
92 92 'sales-page' => esc_html__( 'Sales Page', 'sellkit' ),
93 93 'checkout' => esc_html__( 'Checkout', 'sellkit' ),
94 94 'thankyou' => esc_html__( 'Thank You', 'sellkit' ),
95 - 'decision' => esc_html__( 'Decision', 'sellkit' ),
95 + 'decision' => esc_html__( 'Condition', 'sellkit' ),
96 96 'upsell' => esc_html__( 'Upsell', 'sellkit' ),
97 97 'downsell' => esc_html__( 'Downsell', 'sellkit' ),
98 98 'optin-confirmation' => esc_html__( 'Opt-in Confirmation' ),
99 99 'optin' => esc_html__( 'Opt-in', 'sellkit' ),
@@ -382,8 +382,12 @@
382 382 if ( 'string' !== gettype( $template ) || ! is_object( $post ) || self::SELLKIT_STEP_POST_TYPE !== $post->post_type ) {
383 383 return $template;
384 384 }
385 385
386 + if ( has_blocks( $post ) ) {
387 + return $template;
388 + }
389 +
386 390 remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
387 391 add_filter( 'next_post_rel_link', '__return_empty_string' );
388 392 add_filter( 'previous_post_rel_link', '__return_empty_string' );
389 393
@@ -506,8 +510,12 @@
506 510 * @param string $new_status Status.
507 511 */
508 512 public function update_steps_post_status( $funnel_id, $new_status ) {
509 513 $steps = get_post_meta( $funnel_id, 'sellkit_steps', true );
514 +
515 + if ( ! is_array( $steps ) ) {
516 + return;
517 + }
510 518
511 519 foreach ( $steps as $step ) {
512 520 if ( $step['page_id'] === $funnel_id ) {
513 521 continue;