Skip to content

Commit

Permalink
Don't exclude installed plugins from the block directory search.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyBJacobs committed Jul 1, 2020
1 parent 82a764a commit 7946dc6
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ public function get_items( $request ) {
$result = array();

foreach ( $response->plugins as $plugin ) {
if ( $this->find_plugin_for_slug( $plugin['slug'] ) ) {
continue;
}

$data = $this->prepare_item_for_response( $plugin, $request );
$result[] = $this->prepare_response_for_collection( $data );
}
Expand Down

0 comments on commit 7946dc6

Please sign in to comment.