About page: Don't wrap URLs with `<code>` tags.

See #38616.

git-svn-id: https://develop.svn.wordpress.org/trunk@39433 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2016-12-02 12:30:12 +00:00
parent b2a8ce0a72
commit 65ed569b96
1 changed files with 3 additions and 4 deletions

View File

@ -172,9 +172,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="col">
<h3><?php
printf(
/* translators: 1: WP_Hook, 2: https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/ */
__( '<a href="%1$s">%2$s</a>' ),
'<code>https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/</code>',
'<a href="%1$s">%2$s</a>',
'https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/',
'<code>WP_Hook</code>'
);
?></h3>
@ -193,7 +192,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
/* translators: 1: register_setting(), 2: https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/ */
__( '%1$s <a href="%2$s">has been enhanced</a> to include type, description, and REST API visibility.' ),
'<code>register_setting()</code>',
'<code>https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/</code>'
'https://make.wordpress.org/core/2016/10/26/registering-your-settings-in-wordpress-4-7/'
);
?></p>
</div>