Skip to content

Commit

Permalink
Remove the network prefix from the atcion-link filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Jan 2, 2015
1 parent bd9e9ad commit 9e82af1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions class-tgm-plugin-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -1337,8 +1337,7 @@ public function column_plugin( $item ) {
);
}

$prefix = ( defined( 'WP_NETWORK_ADMIN' ) && WP_NETWORK_ADMIN ) ? 'network_admin_' : '';
$actions = apply_filters( $prefix . 'tgmpa-plugin_action_links', array_filter( $actions ), $item['slug'] );
$actions = apply_filters( 'tgmpa-plugin_action_links', array_filter( $actions ), $item['slug'] );

return sprintf( '%1$s %2$s', $item['plugin'], $this->row_actions( $actions ) );

Expand Down

0 comments on commit 9e82af1

Please sign in to comment.