From 0f4d60de269206d921f42c4591561e317a024fde Mon Sep 17 00:00:00 2001 From: James Collins Date: Wed, 20 Jan 2016 12:16:49 +0800 Subject: [PATCH] Fix PHP Notice PHP Notice: Undefined variable: url in includes/class-updater.php on line 123 See #37 --- includes/class-updater.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/class-updater.php b/includes/class-updater.php index 5b7ac1b..b44d625 100755 --- a/includes/class-updater.php +++ b/includes/class-updater.php @@ -114,6 +114,8 @@ public static function updates_this_plugin( $plugin ) { */ public static function parse_plugin_uri( $plugin ) { + $url = ''; + if ( !empty( $plugin['Git URI'] ) ) { $url = parse_url( $plugin['Git URI'] ); }elseif ( apply_filters( 'gpu_use_plugin_uri_header', false ) ) {