Ticket #3767: 3767.diff

File 3767.diff, 2.1 KB (added by Nazgul, 6 years ago)
Line 
1Index: wp-admin/options-general.php
2===================================================================
3--- wp-admin/options-general.php        (revision 5730)
4+++ wp-admin/options-general.php        (working copy)
5@@ -68,20 +68,6 @@
6 <?php _e('hours') ?> (<?php _e('Your timezone offset, for example <code>-6</code> for Central Time.'); ?>)</td>
7 </tr>
8 <tr>
9-<th scope="row"><?php _e('Default date format:') ?></th>
10-<td><input name="date_format" type="text" id="date_format" size="30" value="<?php form_option('date_format'); ?>" /><br />
11-<?php _e('Output:') ?> <strong><?php echo mysql2date(get_option('date_format'), current_time('mysql')); ?></strong></td>
12-</tr>
13-<tr>
14-<th scope="row"><?php _e('Default time format:') ?></th>
15-<td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br />
16-<?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong></td>
17-</tr>
18-<tr>
19-<th scope="row">&nbsp;</th>
20-<td><?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Update options" to update sample output.') ?> </td>
21-</tr>
22-<tr>
23 <th scope="row"><?php _e('Weeks in the calendar should start on:') ?></th>
24 <td><select name="start_of_week" id="start_of_week">
25 <?php
26@@ -97,7 +83,7 @@
27 
28 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
29 <input type="hidden" name="action" value="update" />
30-<input type="hidden" name="page_options" value="<?php if ( ! defined( 'WP_SITEURL' ) ) echo 'siteurl,'; if ( ! defined( 'WP_HOME' ) ) echo 'home,'; ?>blogname,blogdescription,admin_email,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration,default_role" />
31+<input type="hidden" name="page_options" value="<?php if ( ! defined( 'WP_SITEURL' ) ) echo 'siteurl,'; if ( ! defined( 'WP_HOME' ) ) echo 'home,'; ?>blogname,blogdescription,admin_email,users_can_register,gmt_offset,start_of_week,comment_registration,default_role" />
32 </p>
33 </form>
34