从我的本地wordpress连接到fonts.googleapis.com是正常行为吗?

从我的本地wordpress连接到fonts.googleapis.com是正常行为吗?,wordpress,Wordpress,我已经在我的电脑上建立了一个wordpress 本地127.0.0.1\wordpress,启动wamp并在firefox中输入127.0.0.1\wordpress时,请查看左角,连接到fonts.googleapis.com。 从我的本地地址链接到fonts.googleapis.com是正常行为吗?人们使用wordpress可能不安全 据说在functions.php的末尾追加一些代码可以解决这个问题,我追加时遇到了另一个错误 function remove_open_sans_from_

我已经在我的电脑上建立了一个wordpress 本地127.0.0.1\wordpress,启动wamp并在firefox中输入127.0.0.1\wordpress时,请查看左角,连接到fonts.googleapis.com。 从我的本地地址链接到fonts.googleapis.com是正常行为吗?人们使用wordpress可能不安全

据说在functions.php的末尾追加一些代码可以解决这个问题,我追加时遇到了另一个错误

function remove_open_sans_from_wp_core() {
wp_deregister_style( 'open-sans' );
wp_register_style( 'open-sans', false );
wp_enqueue_style('open-sans','');
}
add_action( 'init', 'remove_open_sans_from_wp_core' );
我怎样才能解决这个问题


也许主题正在使用它?我可以将主题更改为另一个不连接到fonts.googleapis.com的主题吗?当然,为什么不?如果你想要干净和基本的东西,请检查初学者主题。