Changeset 13663
- Timestamp:
- 03/11/2010 05:30:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r13661 r13663 76 76 <tr valign="top"> 77 77 <th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th> 78 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php $disabled = disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( $disabled) echo ' disabled' ?>" /></td>78 <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> 79 79 </tr> 80 80 <tr valign="top"> 81 81 <th scope="row"><label for="home"><?php _e('Blog address (URL)') ?></label></th> 82 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>"<?php $disabled = disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( $disabled) echo ' disabled' ?>" />82 <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' ?>" /> 83 83 <span class="description"><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></span></td> 84 84 </tr>
Note: See TracChangeset
for help on using the changeset viewer.