summaryrefslogtreecommitdiffstats
path: root/wp-admin/options-reading.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-06-21 16:41:02 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-06-21 16:41:02 +0000
commita5fe68e002632c190ffbd85167671ed4d4961135 (patch)
treeae57f94603111507c50cb3c212a03bedf8f7dc5a /wp-admin/options-reading.php
parent4e38776b5b68c61a4593a84340f4654200f7568e (diff)
downloadwordpress-mu-a5fe68e002632c190ffbd85167671ed4d4961135.tar.gz
wordpress-mu-a5fe68e002632c190ffbd85167671ed4d4961135.tar.xz
wordpress-mu-a5fe68e002632c190ffbd85167671ed4d4961135.zip
WP Merge to WP 2.2.1
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1005 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/options-reading.php')
-rw-r--r--wp-admin/options-reading.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php
index f2d01ea..9e0e8df 100644
--- a/wp-admin/options-reading.php
+++ b/wp-admin/options-reading.php
@@ -5,16 +5,6 @@ $title = __('Reading Options');
$parent_file = 'options-general.php';
include('admin-header.php');
-
-// Sanity checks
-if ( 'page' == get_option('show_on_front') ) {
- $front_page = get_option('page_on_front');
- if ( empty($front_page) ) {
- update_option('show_on_front', 'posts');
- delete_option('page_for_posts');
- delete_option('page_on_front');
- }
-}
?>
<div class="wrap">