From d422587302acdc5609b067b5c47c5af67dc99675 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 3 May 2010 06:30:21 +0000 Subject: [PATCH] When no pages are present add a hidden input field so that the show_on_front option is not blanked. Fixes is_front_page return value in an edge case. props sivel, fixes #12737, fixes #9105. git-svn-id: https://develop.svn.wordpress.org/trunk@14362 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options-reading.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 915b2d286b..a7b436e4e1 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -25,8 +25,11 @@ include( './admin-header.php' );
+ + + +
-