mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-18 18:24:39 +00:00
I18N: Remove <code> and <kbd> tags from translatable strings on Settings screens.
Move URLs to separate strings. Props ramiy. Fixes #40763. git-svn-id: https://develop.svn.wordpress.org/trunk@41986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -79,8 +79,15 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th>
|
||||
<td><input name="home" type="url" id="home" aria-describedby="home-description" value="<?php form_option( 'home' ); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />
|
||||
<?php if ( ! defined( 'WP_HOME' ) ) : ?>
|
||||
<p class="description" id="home-description"><?php _e( 'Enter the address here if you <a href="https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">want your site home page to be different from your WordPress installation directory</a>.' ); ?></p></td>
|
||||
<p class="description" id="home-description"><?php
|
||||
printf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'Enter the address here if you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
|
||||
__( 'https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory' )
|
||||
);
|
||||
?></p>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user