From d4091bdb1ed1bc24f52740c629ef8c4a04b37a4b 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 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 fa2010faa..4c3ebafaa 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 @@ -253,7 +253,7 @@ class M_Attach_To_Post extends C_Base_Module return $content; } - + function add_media_button() { if (in_array(FALSE, array( @@ -424,7 +424,7 @@ class M_Attach_To_Post extends C_Base_Module if ($this->is_new_or_edit_post_screen()) { $router = C_Router::get_instance(); - add_editor_style('https://fonts.googleapis.com/css?family=Lato'); + // add_editor_style('https://fonts.googleapis.com/css?family=Lato'); add_editor_style($router->get_static_url('photocrati-attach_to_post#ngg_attach_to_post_tinymce_plugin.css')); wp_enqueue_script('photocrati_ajax'); @@ -612,4 +612,4 @@ class C_Attach_To_Post_Installer } } -new M_Attach_To_Post(); \ No newline at end of file +new M_Attach_To_Post(); -- GitLab