Hi @Buschmann,
I’ve just tested with the following code and it’s still working fine:
function wuwo_theme_styles() {
// de-register the child theme stylesheet registered by X theme:
wp_dequeue_style( 'x-child' );
wp_deregister_style( 'x-child' );
$theme_version = wp_get_theme()->get('Version');
// Register and Enqueue our style.css with our own handle and version:
wp_register_style( 'wuwo-styles', get_stylesheet_directory_uri() . '/style.css', array( 'x-stack' ), $theme_version, 'all' );
wp_enqueue_style( 'wuwo-styles' );
}
// Enqueue this theme's scripts and styles (after parent theme)
add_action('wp_enqueue_scripts', 'wuwo_theme_styles', 99);
Cheers!