Allow what_to_show to be overridden.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-05-18 18:37:57 +00:00
parent d3100d05cb
commit 7a8839a7a0
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ if (isset($doing_rss) && $doing_rss == 1)
$posts_per_page=get_settings('posts_per_rss');
if (!isset($posts_per_page) || $posts_per_page == 0)
$posts_per_page = get_settings('posts_per_page');
$what_to_show = get_settings('what_to_show');
if (!isset($what_to_show))
$what_to_show = get_settings('what_to_show');
$archive_mode = get_settings('archive_mode');
$use_gzipcompression = get_settings('gzipcompression');