Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #38 from pbiron/issue-37
Browse files Browse the repository at this point in the history
Ensure the the enable/disable bulk actions appear in the dropdown and are handled in multisite.
  • Loading branch information
audrasjb committed Mar 6, 2020
2 parents 25b6ff7 + 70cb867 commit 9af8e9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wp-autoupdates.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function wp_autoupdates_plugins_bulk_actions( $actions ) {
return $actions;
}
add_action( 'bulk_actions-plugins', 'wp_autoupdates_plugins_bulk_actions' );
add_action( 'bulk_actions-plugins-network', 'wp_autoupdates_plugins_bulk_actions' );


/**
Expand Down Expand Up @@ -293,6 +294,7 @@ function wp_autoupdates_plugins_bulk_actions_handle( $redirect_to, $doaction, $i

}
add_action( 'handle_bulk_actions-plugins', 'wp_autoupdates_plugins_bulk_actions_handle', 10, 3 );
add_action( 'handle_bulk_actions-plugins-network', 'wp_autoupdates_plugins_bulk_actions_handle', 10, 3 );


/**
Expand Down

0 comments on commit 9af8e9d

Please sign in to comment.