Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guidance for managing Performance feature plugins #1734

10 changes: 10 additions & 0 deletions plugins/performance-lab/includes/admin/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,16 @@ static function ( string $error_message ): string {
</div>
<div class="clear"></div>
</div>
<p>
westonruter marked this conversation as resolved.
Show resolved Hide resolved
<?php
printf(
/* translators: %1$s: opening anchor tag, %2$s: closing anchor tag */
esc_html__( 'Performance features are installed as plugins. To update features or remove them, %1$s manage them on the plugins screen. %2$s', 'performance-lab' ),
'<a href="' . esc_url( admin_url( 'plugins.php?s=WordPress%20Performance%20Team&plugin_status=all' ) ) . '">',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use add_query_arg() here instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 8f670f5.

'</a>'
);
?>
</p>
<?php
}

Expand Down
Loading