From f6fe58e71265e53825244baa64448c9f5486e321 Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Fri, 23 Dec 2016 10:56:55 +0100 Subject: [PATCH] Remove Google Fonts from nextgen-gallery --- .../modules/attach_to_post/module.attach_to_post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/attach_to_post/module.attach_to_post.php b/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/attach_to_post/module.attach_to_post.php index bfb7833b3..70c5050cf 100644 --- a/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/attach_to_post/module.attach_to_post.php +++ b/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/attach_to_post/module.attach_to_post.php @@ -169,7 +169,7 @@ class M_Attach_To_Post extends C_Base_Module */ function enqueue_tinymce_plugin_css() { - add_editor_style('https://fonts.googleapis.com/css?family=Lato'); + // add_editor_style('https://fonts.googleapis.com/css?family=Lato'); add_editor_style(M_Gallery_Display::get_fontawesome_url()); add_editor_style(C_Router::get_instance()->get_static_url('photocrati-attach_to_post#ngg_attach_to_post_tinymce_plugin.css')); } @@ -255,7 +255,7 @@ class M_Attach_To_Post extends C_Base_Module return $content; } - + function add_media_button() { $security = $this->get_registry()->get_utility('I_Security_Manager'); -- GitLab