Changeset 43571 for trunk/src/wp-admin/options-general.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r42875 r43571 81 81 $wp_home_class = ' disabled'; 82 82 } 83 ?>83 ?> 84 84 85 85 <tr> … … 91 91 <th scope="row"><label for="home"><?php _e( 'Site Address (URL)' ); ?></label></th> 92 92 <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 echo $wp_home_class; ?>" /> 93 <?php if ( ! defined( 'WP_HOME' ) ) : ?>93 <?php if ( ! defined( 'WP_HOME' ) ) : ?> 94 94 <p class="description" id="home-description"> 95 <?php96 printf(97 /* translators: %s: Codex URL */98 __( 'Enter the address here if you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),99 __( 'https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory' )100 );101 ?>95 <?php 96 printf( 97 /* translators: %s: Codex URL */ 98 __( 'Enter the address here if you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ), 99 __( 'https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory' ) 100 ); 101 ?> 102 102 </p> 103 103 <?php endif; ?> … … 114 114 $new_admin_email = get_option( 'new_admin_email' ); 115 115 if ( $new_admin_email && $new_admin_email != get_option( 'admin_email' ) ) : 116 ?>116 ?> 117 117 <div class="updated inline"> 118 118 <p> … … 141 141 <td> <fieldset><legend class="screen-reader-text"><span><?php _e( 'Membership' ); ?></span></legend><label for="users_can_register"> 142 142 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked( '1', get_option( 'users_can_register' ) ); ?> /> 143 <?php _e( 'Anyone can register' ); ?></label>143 <?php _e( 'Anyone can register' ); ?></label> 144 144 </fieldset></td> 145 145 </tr> … … 152 152 </tr> 153 153 154 <?php154 <?php 155 155 } 156 156 … … 242 242 '<code>' . date_i18n( $timezone_format, false, true ) . '</code>' 243 243 ); 244 ?>244 ?> 245 245 </span> 246 246 <?php if ( get_option( 'timezone_string' ) || ! empty( $current_offset ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.