Ticket #14865: options-general.patch
File options-general.patch, 2.9 KB (added by , 15 years ago) |
---|
-
wp-admin/options-general.php
84 84 </tr> 85 85 <?php if ( !is_multisite() ) { ?> 86 86 <tr valign="top"> 87 <th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th>88 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td>89 </tr>90 <tr valign="top">91 <th scope="row"><label for="home"><?php _e('Site address (URL)') ?></label></th>92 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />93 <span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td>94 </tr>95 <tr valign="top">96 87 <th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th> 97 88 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" /> 98 89 <span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td> … … 318 309 ?> 319 310 </select></td> 320 311 </tr> 321 <?php do_settings_fields('general', 'default'); ?> 312 <?php if ( !is_multisite() ) : ?> 313 <tr><td colspan="2">Before changing the following two values, please ensure you have read and understand the instructions for <a href="http://codex.wordpress.org/Moving_WordPress">moving WordPress</a>.</td></tr> 314 <tr valign="top"> 315 <th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th> 316 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td> 317 </tr> 318 <tr valign="top"> 319 <th scope="row"><label for="home"><?php _e('Site address (URL)') ?></label></th> 320 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" /> 321 <span class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td> 322 </tr> 322 323 <?php 324 endif; 325 do_settings_fields('general', 'default'); 323 326 $languages = get_available_languages(); 324 327 if ( is_multisite() && !empty( $languages ) ): 325 328 ?>