We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89b4c7f commit 2a344c9Copy full SHA for 2a344c9
plugins/performance-lab/includes/admin/plugins.php
@@ -113,9 +113,11 @@ function perflab_query_plugin_info( string $plugin_slug ) {
113
'message' => __( 'Plugin not found in API response.', 'performance-lab' ),
114
),
115
);
116
- }
117
118
- set_transient( $transient_key, $plugins, HOUR_IN_SECONDS );
+ set_transient( $transient_key, $plugins, MINUTE_IN_SECONDS );
+ } else {
119
+ set_transient( $transient_key, $plugins, HOUR_IN_SECONDS );
120
+ }
121
122
if ( isset( $plugins[ $plugin_slug ]['error'] ) ) {
123
return new WP_Error(
0 commit comments