mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Wrong time in time format examples and posts_per_rss not updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5e8246387b
commit
614fb6c3a1
@ -98,12 +98,12 @@ include('options-head.php');
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Default date format:') ?></th>
|
||||
<td><input name="date_format" type="text" id="date_format" size="30" value="<?php echo get_settings('date_format'); ?>" /><br />
|
||||
Output: <strong><?php echo date(get_settings('date_format'), current_time('timestamp')); ?></strong></td>
|
||||
Output: <strong><?php echo date(get_settings('date_format'), current_time('timestamp', true)); ?></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Default time format:') ?></th>
|
||||
<td><input name="time_format" type="text" id="time_format" size="30" value="<?php echo get_settings('time_format'); ?>" /><br />
|
||||
Output: <strong><?php echo date(get_settings('time_format'), current_time('timestamp')); ?></strong></td>
|
||||
Output: <strong><?php echo date(get_settings('time_format'), current_time('timestamp', true)); ?></strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
@ -46,7 +46,7 @@ include('options-head.php');
|
||||
<h2><?php _e('Reading Options') ?></h2>
|
||||
<form name="form1" method="post" action="options.php">
|
||||
<input type="hidden" name="action" value="update" />
|
||||
<input type="hidden" name="page_options" value="'posts_per_page','what_to_show','rss_use_excerpt','blog_charset','gzipcompression' " />
|
||||
<input type="hidden" name="page_options" value="'posts_per_page','what_to_show','posts_per_rss','rss_use_excerpt','blog_charset','gzipcompression' " />
|
||||
<fieldset class="options">
|
||||
<legend><?php _e('Front Page') ?></legend>
|
||||
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
|
||||
|
Loading…
Reference in New Issue
Block a user