From ecef32754e801d1033da387cf60b83acff3c1c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fr=C3=B6hlingsdorf?= Date: Wed, 28 Dec 2016 12:59:15 +0100 Subject: [PATCH] update cdn url changed to cloudflare cdn & https to: 1. work on wordpress installations that are accessed via https 2. fix the broken cloudfront resource link --- classes/class-code-snippet-library.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/class-code-snippet-library.php b/classes/class-code-snippet-library.php index a2e8545..be5d441 100644 --- a/classes/class-code-snippet-library.php +++ b/classes/class-code-snippet-library.php @@ -323,7 +323,7 @@ public function load_scripts() { } private function load_ace() { - wp_register_script( 'ace' , esc_url( 'http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js' ) ); + wp_register_script( 'ace' , esc_url( 'https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ace.js' ) ); wp_enqueue_script( 'ace' ); } @@ -540,4 +540,4 @@ public function load_plugin_textdomain () { load_plugin_textdomain( $domain, FALSE, dirname( plugin_basename( $this->file ) ) . '/lang/' ); } -} \ No newline at end of file +}