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:
parent
b2a8ce0a72
commit
65ed569b96
@ -172,9 +172,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<h3><?php
|
<h3><?php
|
||||||
printf(
|
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>',
|
||||||
__( '<a href="%1$s">%2$s</a>' ),
|
'https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/',
|
||||||
'<code>https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/</code>',
|
|
||||||
'<code>WP_Hook</code>'
|
'<code>WP_Hook</code>'
|
||||||
);
|
);
|
||||||
?></h3>
|
?></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/ */
|
/* 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.' ),
|
__( '%1$s <a href="%2$s">has been enhanced</a> to include type, description, and REST API visibility.' ),
|
||||||
'<code>register_setting()</code>',
|
'<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>
|
?></p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user