Skip to content

Commit

Permalink
Merge branch 'trunk' into update/1737-follow-up
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Dec 16, 2024
2 parents af1665b + 1d44f3a commit 28f6c39
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions plugins/performance-lab/includes/admin/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,31 @@ static function ( string $error_message ): string {
<div class="clear"></div>
</div>
<?php
if ( current_user_can( 'activate_plugins' ) ) {
?>
<p>
<?php
$plugins_url = add_query_arg(
array(
's' => 'WordPress Performance Team',
'plugin_status' => 'all',
),
admin_url( 'plugins.php' )
);
echo wp_kses(
sprintf(
/* translators: %s is the URL to the plugins screen */
__( 'Performance features are installed as plugins. To update features or remove them, <a href="%s">manage them on the plugins screen</a>.', 'performance-lab' ),
esc_url( $plugins_url )
),
array(
'a' => array( 'href' => true ),
)
);
?>
</p>
<?php
}
}

/**
Expand Down

0 comments on commit 28f6c39

Please sign in to comment.