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 70d495d commit be0e75dCopy full SHA for be0e75d
plugins/performance-lab/includes/admin/plugins.php
@@ -453,8 +453,9 @@ function perflab_render_plugin_card( array $plugin_data ): void {
453
);
454
455
$action_links[] = sprintf(
456
- '<a class="button perflab-install-active-plugin" href="%s">%s</a>',
+ '<a class="button perflab-install-active-plugin" href="%s" data-plugin-slug="%s">%s</a>',
457
esc_url( $url ),
458
+ esc_attr( $plugin_data['slug'] ),
459
esc_html__( 'Activate', 'default' )
460
461
} else {
0 commit comments