diff --git a/README.md b/README.md index 9a980781..db4c9263 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # WordPress Libs WordPress library which supports a core plugin and theme. -**Version [1.11.1](https://github.com/lipemat/wordpress-lipe-libs/releases/tag/1.11.1)** +**Version [1.11.2](https://github.com/lipemat/wordpress-lipe-libs/releases/tag/1.11.2)** ### Requirements 1. PHP Version 7.1.3+ (Recommended 7.2.0+) diff --git a/src/Theme/Styles.php b/src/Theme/Styles.php index ffdc90ca..3a59aa9b 100644 --- a/src/Theme/Styles.php +++ b/src/Theme/Styles.php @@ -61,11 +61,11 @@ public function get_version() : ?string { public function live_reload( bool $admin_also = false ) : void { if ( \defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) { \add_action( 'wp_enqueue_scripts', function () { - \wp_enqueue_script( 'livereload', '//localhost:35729/livereload.js', [], \time(), true ); + \wp_enqueue_script( 'livereload', 'http://localhost:35729/livereload.js', [], \time(), true ); } ); if ( $admin_also ) { \add_action( 'admin_enqueue_scripts', function () { - \wp_enqueue_script( 'livereload', '//localhost:35729/livereload.js', [], \time(), true ); + \wp_enqueue_script( 'livereload', 'http://localhost:35729/livereload.js', [], \time(), true ); } ); } }