Skip to content

Commit 6d8a1c3

Browse files
committed
Merge pull request #332 from thomasgriffin/feature/fix-203-default-path
Fix Bulk install not honouring 'default_path'
2 parents 4c78d84 + 211562a commit 6d8a1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class-tgm-plugin-activation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@ public function column_cb( $item ) {
15281528
}
15291529
elseif ( __( 'Pre-Packaged', 'tgmpa' ) === $item['source'] ) {
15301530
// Encode file path for use in attribute
1531-
$plugin_url = urlencode( $plugin_url );
1531+
$plugin_url = urlencode( $this->tgmpa->default_path . $plugin_url );
15321532
}
15331533

15341534
$value = $item['file_path'] . ',' . $plugin_url . ',' . $item['sanitized_plugin'];

0 commit comments

Comments
 (0)