Skip to content

Commit

Permalink
Testing to see what rule is triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed May 3, 2016
1 parent f17ecd1 commit 47c6619
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions class-tgm-plugin-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,7 @@ protected function _gather_plugin_data() {
if ( ! empty( $upgrade_notice ) ) {
$table_data[ $i ]['upgrade_notice'] = $upgrade_notice;

add_action( 'tgmpa_after_plugin_row_' . $slug, array( $this, 'wp_plugin_update_row' ), 10, 2 );
add_action( "tgmpa_after_plugin_row_{$slug}", array( $this, 'wp_plugin_update_row' ), 10, 2 );
}

$table_data[ $i ] = apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin );
Expand Down Expand Up @@ -2713,7 +2713,7 @@ protected function get_row_actions( $item ) {
}

$prefix = ( defined( 'WP_NETWORK_ADMIN' ) && WP_NETWORK_ADMIN ) ? 'network_admin_' : '';
return apply_filters( 'tgmpa_' . $prefix . 'plugin_action_links', array_filter( $action_links ), $item['slug'], $item, $this->view_context );
return apply_filters( "tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context );
}

/**
Expand All @@ -2734,7 +2734,7 @@ public function single_row( $item ) {
*
* @since 2.5.0
*/
do_action( 'tgmpa_after_plugin_row_' . $item['slug'], $item['slug'], $item, $this->view_context );
do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context );
}

/**
Expand Down

0 comments on commit 47c6619

Please sign in to comment.