Help/About: Move trailing punctuation in the jQuery Migrate Helper plugin link outside of the HTML tag.

Props psmits1567, audrasjb, tobifjellner, fierevere, markscottrobson.
Reviewed by desrosj, SergeyBiryukov.
Merges [49685] to the 5.6 branch.
Fixes #51813.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@49729 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-12-01 19:33:36 +00:00
parent 4920328ea9
commit 45b2c8d0ff

View File

@ -220,8 +220,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<p>
<?php
printf(
/* translators: %s: jQuery migrate plugin link. */
__( 'If you find issues with the way your site looks (e.g. a slider doesnt work, a button is stuck — that sort of thing), install the <a href="%s">jQuery Migrate plugin.</a>' ),
/* translators: %s: jQuery Migrate plugin link. */
__( 'If you find issues with the way your site looks (e.g. a slider doesnt work, a button is stuck — that sort of thing), install the <a href="%s">jQuery Migrate plugin</a>.' ),
current_user_can( 'install_plugins' ) ?
esc_url( network_admin_url( 'plugin-install.php?tab=search&type=term&s=slug:enable-jquery-migrate-helper' ) ) :
esc_url( __( 'https://wordpress.org/plugins/enable-jquery-migrate-helper/' ) )