Skip to content
Browse files

Limited Purchase to External Links and Private Repos.

  • Loading branch information...
1 parent a2c77ec commit 7570b3cc32cbaf1b3492a424986a07d9e6a1eca2 @wpsmith committed May 24, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 tgm-plugin-activation/class-tgm-plugin-activation.php
View
4 tgm-plugin-activation/class-tgm-plugin-activation.php
@@ -1320,9 +1320,7 @@ public function column_plugin( $item ) {
/** We need to display the 'Purchase' hover link */
if ( isset( $item['source'] ) && (
__( 'External Link', TGM_Plugin_Activation::$instance->domain ) != $item['source'] ||
- __( 'Private Repository', TGM_Plugin_Activation::$instance->domain ) != $item['source'] ||
- __( 'Pre-Packaged', TGM_Plugin_Activation::$instance->domain ) != $item['source'] ||
- __( 'WordPress Repository', TGM_Plugin_Activation::$instance->domain ) != $item['source']
+ __( 'Private Repository', TGM_Plugin_Activation::$instance->domain ) != $item['source']
)
) {
$actions = array(

0 comments on commit 7570b3c

Please sign in to comment.
Something went wrong with that request. Please try again.