Skip to content

Commit 49424c8

Browse files
committed
Explicitly request download_link and requires_plugins fields
1 parent cdaf0f4 commit 49424c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/performance-lab/includes/admin/plugins.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,9 @@ function perflab_install_and_activate_plugin( string $plugin_slug, array &$proce
347347
array(
348348
'slug' => $plugin_slug,
349349
'fields' => array(
350-
'sections' => false,
350+
'download_link' => true,
351+
'requires_plugins' => true,
352+
'sections' => false, // Omit the bulk of the response which we don't need.
351353
),
352354
)
353355
);

0 commit comments

Comments
 (0)