Skip to content

Commit b59b0d2

Browse files
committed
Explain why perflab_query_plugin_info() isn't used in perflab_install_and_activate_plugin()
1 parent 49424c8 commit b59b0d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ function perflab_install_and_activate_plugin( string $plugin_slug, array &$proce
342342
}
343343
$processed_plugins[] = $plugin_slug;
344344

345+
// Get the freshest data (including the most recent download_link) as opposed what is cached by perflab_query_plugin_info().
345346
$plugin_data = plugins_api(
346347
'plugin_information',
347348
array(

0 commit comments

Comments
 (0)