From c047bcca0cb756db2a8f3845fe73e118697602db Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Wed, 22 Apr 2015 01:02:19 +0100 Subject: [PATCH] Fix bulk installation error "http://repo" props @Webcreations907 Fixes #298 --- class-tgm-plugin-activation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/class-tgm-plugin-activation.php b/class-tgm-plugin-activation.php index e95a0279..beda46f7 100755 --- a/class-tgm-plugin-activation.php +++ b/class-tgm-plugin-activation.php @@ -1348,7 +1348,8 @@ public function column_plugin( $item ) { */ public function column_cb( $item ) { - $value = $item['file_path'] . ',' . esc_url( $item['url'] ) . ',' . $item['sanitized_plugin']; + $plugin_url = ( 'repo' === $item['url'] ) ? $item['url'] : esc_url( $item['url'] ); + $value = $item['file_path'] . ',' . $plugin_url . ',' . $item['sanitized_plugin']; return sprintf( '', esc_attr( $this->_args['singular'] ), esc_attr( $value ), esc_attr( $item['sanitized_plugin'] ) ); }