Make WordPress Core


Ignore:
Timestamp:
10/24/2017 10:50:40 AM (6 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <code> and <kbd> tags from translatable strings on Settings screens.

Move URLs to separate strings.

Props ramiy.
Fixes #40763.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r41874 r41986  
    8080<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' ?>" />
    8181<?php if ( ! defined( 'WP_HOME' ) ) : ?>
    82 <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>
     82<p class="description" id="home-description"><?php
     83    printf(
     84        /* translators: %s: Codex URL */
     85        __( 'Enter the address here if you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
     86        __( 'https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory' )
     87    );
     88?></p>
    8389<?php endif; ?>
     90</td>
    8491</tr>
    8592
Note: See TracChangeset for help on using the changeset viewer.