Skip to content

Commit

Permalink
Merge 22564f5 into 6c13739
Browse files Browse the repository at this point in the history
  • Loading branch information
PatelUtkarsh committed Jan 28, 2016
2 parents 6c13739 + 22564f5 commit 7bac0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class-tgm-plugin-activation.php
Expand Up @@ -885,7 +885,7 @@ protected function do_plugin_install() {
$upgrader->install( $source );
}

remove_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1, 3 );
remove_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1 );

// Make sure we have the correct file path now the plugin is installed/updated.
$this->populate_file_path( $slug );
Expand Down Expand Up @@ -2913,7 +2913,7 @@ public function process_bulk_actions() {
$installer->bulk_install( $sources );
}

remove_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1, 3 );
remove_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1 );

echo '</div></div>';

Expand Down

0 comments on commit 7bac0d9

Please sign in to comment.