Submit the form when setting items per page option so it's visible straight away

git-svn-id: https://develop.svn.wordpress.org/trunk@10987 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-04-17 12:46:53 +00:00
parent 2a9cc5e19d
commit ad021e44ad
6 changed files with 51 additions and 33 deletions

View File

@@ -41,6 +41,8 @@ nocache_headers();
update_category_cache();
save_screen_options();
$posts_per_page = get_option('posts_per_page');
$what_to_show = get_option('what_to_show');
$date_format = get_option('date_format');