summaryrefslogtreecommitdiffstats
path: root/wp-admin/options-reading.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/options-reading.php')
-rw-r--r--wp-admin/options-reading.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php
index fc73637..c603a88 100644
--- a/wp-admin/options-reading.php
+++ b/wp-admin/options-reading.php
@@ -63,10 +63,7 @@ if ( 'page' == get_option('show_on_front') ) {
<tr valign="top">
<th width="33%" scope="row"><?php _e('Show at most:') ?></th>
<td>
-<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" />
-<select name="what_to_show" id="what_to_show" >
-<option value="days" <?php selected('days', get_option('what_to_show')); ?>><?php _e('days') ?></option>
-<option value="posts" <?php selected('posts', get_option('what_to_show')); ?>><?php _e('posts') ?></option>
+<input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option('posts_per_page'); ?>" size="3" /> <?php _e('posts') ?>
</select>
</td>
</tr>
@@ -99,7 +96,8 @@ if ( 'page' == get_option('show_on_front') ) {
</table>
<p class="submit">
<input type="hidden" name="action" value="update" />
-<input type="hidden" name="page_options" value="posts_per_page,what_to_show,posts_per_rss,rss_use_excerpt,blog_charset,show_on_front,page_on_front,page_for_posts" />
+<input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,blog_charset,gzipcompression,show_on_front,page_on_front,page_for_posts" />
+<input type="hidden" name="page_options" value="posts_per_page,posts_per_rss,rss_use_excerpt,blog_charset,show_on_front,page_on_front,page_for_posts" />
<input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
</p>
</form>