Breaks WooCommerce 4.3+ in WP 5.5
-
Unfortunately if Kioken Blocks is installed in latest WordPress + WooCommerce it breaks the WooCommerce type selection box on the product add/edit page. This is due to the kioken_editor_body_classes filter returning null if the kiokenblocks_editor_enhanced option is false.
The code causing the issue is:
public function kioken_editor_body_classes( $classes ) { if ( ! get_option( 'kiokenblocks_editor_enhanced', false ) ) { return; } $screen = get_current_screen(); if ( 'post' == $screen->base ) { $classes .= ' kioken-limited-margins'; } return $classes; }
It should return $classes not null.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Breaks WooCommerce 4.3+ in WP 5.5’ is closed to new replies.