Selamlar arkadaşlar, iyi çalışmalar.

Local'de çalıştığım site için child tema oluşturdum (functions.php için eklediğim kod aşağıdaki gibidir) ancak etkinleştirdiğimde temanın 2 kez style.css çağırdığını gördüm.

Biri şöyle:

diğeri ise:


Child tema için kullandığım fonksiyon:
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {

$parent_style = 'parent-style'; // This is 'flex-mag-style' for the Flex Mag theme.

wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')
);
}


Fonksiyon ile alakalı olduğunu sanmıyorum ama ana temanın functions.php dosyasıyla alakası olabilir mi acaba? Daha önce başına gelen var mı aynı durum?