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

See #38616.
Built from https://develop.svn.wordpress.org/trunk@39433


git-svn-id: http://core.svn.wordpress.org/trunk@39373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-12-02 12:31:41 +00:00
parent afc9ef5123
commit c354cfd79b
2 changed files with 4 additions and 5 deletions

View File

@ -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>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-39432'; $wp_version = '4.8-alpha-39433';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.