Changeset 29030 for trunk/src/wp-admin/options-general.php
- Timestamp:
- 07/08/2014 05:51:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r29007 r29030 87 87 <h2><?php echo esc_html( $title ); ?></h2> 88 88 89 <form method="post" action="options.php" >89 <form method="post" action="options.php" novalidate="novalidate"> 90 90 <?php settings_fields('general'); ?> 91 91 … … 103 103 <tr> 104 104 <th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th> 105 <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>105 <td><input name="siteurl" type="url" id="siteurl" value="<?php form_option( 'siteurl' ); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td> 106 106 </tr> 107 107 <tr> 108 108 <th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th> 109 <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' ?>" />109 <td><input name="home" type="url" id="home" value="<?php form_option( 'home' ); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" /> 110 110 <p 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.'); ?></p></td> 111 111 </tr> 112 112 <tr> 113 113 <th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th> 114 <td><input name="admin_email" type=" text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />114 <td><input name="admin_email" type="email" id="admin_email" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 115 115 <p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td> 116 116 </tr> … … 131 131 <tr> 132 132 <th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th> 133 <td><input name="new_admin_email" type=" text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />133 <td><input name="new_admin_email" type="email" id="new_admin_email" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 134 134 <p class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></p> 135 135 <?php
Note: See TracChangeset
for help on using the changeset viewer.