diff --git a/modules/block.module b/modules/block.module
index e97187483b58aa3ed23e3b5a56d4b43a3071761e..58c66515dfe19c291d3fecbe611540b5b16d7af5 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -325,7 +325,6 @@ function block_admin_configure($module = NULL, $delta = 0) {
       '#type' => 'fieldset',
       '#title' => t('Block specific settings'),
       '#collapsible' => true,
-      '#weight' => 0,
     );
 
     foreach ($settings as $k => $v) {
@@ -343,7 +342,6 @@ function block_admin_configure($module = NULL, $delta = 0) {
     '#type' => 'fieldset',
     '#title' => t('User specific visibility settings'),
     '#collapsible' => true,
-    '#weight' => 0,
   );
   $form['user_vis_settings']['custom'] = array(
     '#type' => 'radios',
@@ -355,7 +353,6 @@ function block_admin_configure($module = NULL, $delta = 0) {
     '#type' => 'fieldset',
     '#title' => t('Page specific visibility settings'),
     '#collapsible' => true,
-    '#weight' => 0,
   );
   $access = user_access('use PHP for block visibility');
 
diff --git a/modules/block/block.module b/modules/block/block.module
index e97187483b58aa3ed23e3b5a56d4b43a3071761e..58c66515dfe19c291d3fecbe611540b5b16d7af5 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -325,7 +325,6 @@ function block_admin_configure($module = NULL, $delta = 0) {
       '#type' => 'fieldset',
       '#title' => t('Block specific settings'),
       '#collapsible' => true,
-      '#weight' => 0,
     );
 
     foreach ($settings as $k => $v) {
@@ -343,7 +342,6 @@ function block_admin_configure($module = NULL, $delta = 0) {
     '#type' => 'fieldset',
     '#title' => t('User specific visibility settings'),
     '#collapsible' => true,
-    '#weight' => 0,
   );
   $form['user_vis_settings']['custom'] = array(
     '#type' => 'radios',
@@ -355,7 +353,6 @@ function block_admin_configure($module = NULL, $delta = 0) {
     '#type' => 'fieldset',
     '#title' => t('Page specific visibility settings'),
     '#collapsible' => true,
-    '#weight' => 0,
   );
   $access = user_access('use PHP for block visibility');
 
diff --git a/modules/blog.module b/modules/blog.module
index 1dd5df58bc31ddffdbe7a0357d6184351d026476..b8a2c9204fc295d21824613be7b361c20d6f06c5 100644
--- a/modules/blog.module
+++ b/modules/blog.module
@@ -230,7 +230,7 @@ function blog_form(&$node) {
 
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['filter'] = filter_form($node->format, 1);
+  $form['body_filter']['filter'] = filter_form($node->format);
   return $form;
 }
 
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 1dd5df58bc31ddffdbe7a0357d6184351d026476..b8a2c9204fc295d21824613be7b361c20d6f06c5 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -230,7 +230,7 @@ function blog_form(&$node) {
 
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['filter'] = filter_form($node->format, 1);
+  $form['body_filter']['filter'] = filter_form($node->format);
   return $form;
 }
 
diff --git a/modules/book.module b/modules/book.module
index 3354c86566e0a167b23dc4ae0cc69c62bfab5dec..60ec8cc151807c37a07a58ae46e73c1b1543b18b 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -253,7 +253,7 @@ function book_form(&$node) {
 
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
 
   $form['log'] = array(
     '#type' => 'textarea', '#title' => t('Log message'), '#default_value' => $node->log, '#weight' => 5,
diff --git a/modules/book/book.module b/modules/book/book.module
index 3354c86566e0a167b23dc4ae0cc69c62bfab5dec..60ec8cc151807c37a07a58ae46e73c1b1543b18b 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -253,7 +253,7 @@ function book_form(&$node) {
 
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
 
   $form['log'] = array(
     '#type' => 'textarea', '#title' => t('Log message'), '#default_value' => $node->log, '#weight' => 5,
diff --git a/modules/comment.module b/modules/comment.module
index 18e8b304da82c3200b31652d6c37ebd8ad285722..cadac359f5c20ff91810f7da6aa73ef221c45c54 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -343,7 +343,6 @@ function comment_configure() {
     '#title' => t('Viewing options'),
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
-    '#weight' => 0,
   );
 
   $form['viewing_options']['comment_default_mode'] = array(
@@ -387,7 +386,6 @@ function comment_configure() {
     '#title' => t('Posting settings'),
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
-    '#weight' => 0,
   );
 
   $form['posting_settings']['comment_anonymous'] = array(
@@ -1333,7 +1331,7 @@ function comment_form($edit, $title = NULL) {
   }
 
   $form['comment_filter']['comment'] = array('#type' => 'textarea', '#title' => t('Comment'), '#rows' => 15, '#default_value' => $edit['comment'] ? $edit['comment'] : $user->signature, '#required' => TRUE);
-  $form['comment_filter']['format'] = filter_form($edit['format'], 1);
+  $form['comment_filter']['format'] = filter_form($edit['format']);
 
   $form['cid'] = array('#type' => 'value', '#value' => $edit['cid']);
   $form['pid'] = array('#type' => 'value', '#value' => $edit['pid']);
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 18e8b304da82c3200b31652d6c37ebd8ad285722..cadac359f5c20ff91810f7da6aa73ef221c45c54 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -343,7 +343,6 @@ function comment_configure() {
     '#title' => t('Viewing options'),
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
-    '#weight' => 0,
   );
 
   $form['viewing_options']['comment_default_mode'] = array(
@@ -387,7 +386,6 @@ function comment_configure() {
     '#title' => t('Posting settings'),
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
-    '#weight' => 0,
   );
 
   $form['posting_settings']['comment_anonymous'] = array(
@@ -1333,7 +1331,7 @@ function comment_form($edit, $title = NULL) {
   }
 
   $form['comment_filter']['comment'] = array('#type' => 'textarea', '#title' => t('Comment'), '#rows' => 15, '#default_value' => $edit['comment'] ? $edit['comment'] : $user->signature, '#required' => TRUE);
-  $form['comment_filter']['format'] = filter_form($edit['format'], 1);
+  $form['comment_filter']['format'] = filter_form($edit['format']);
 
   $form['cid'] = array('#type' => 'value', '#value' => $edit['cid']);
   $form['pid'] = array('#type' => 'value', '#value' => $edit['pid']);
diff --git a/modules/filter.module b/modules/filter.module
index 75ecff13ddf261cf71888500b7d3d41eee5720ef..1a62d851821341076fa99ed4508fd600765714c2 100644
--- a/modules/filter.module
+++ b/modules/filter.module
@@ -750,7 +750,7 @@ function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) {
  * @return
  *   HTML for the form element.
  */
-function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = 0, $parents = array('format')) {
+function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents = array('format')) {
   if ($value == FILTER_FORMAT_DEFAULT) {
     $value = variable_get('filter_default_format', 1);
   }
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 75ecff13ddf261cf71888500b7d3d41eee5720ef..1a62d851821341076fa99ed4508fd600765714c2 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -750,7 +750,7 @@ function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) {
  * @return
  *   HTML for the form element.
  */
-function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = 0, $parents = array('format')) {
+function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents = array('format')) {
   if ($value == FILTER_FORMAT_DEFAULT) {
     $value = variable_get('filter_default_format', 1);
   }
diff --git a/modules/forum.module b/modules/forum.module
index 7db151472472c3faf7cd3966437948840497ab09..c5cb96979523f9832d1897f3cade63e57414fb7d 100644
--- a/modules/forum.module
+++ b/modules/forum.module
@@ -593,7 +593,7 @@ function forum_form(&$node) {
   }
 
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
 
   return $form;
 }
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 7db151472472c3faf7cd3966437948840497ab09..c5cb96979523f9832d1897f3cade63e57414fb7d 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -593,7 +593,7 @@ function forum_form(&$node) {
   }
 
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
 
   return $form;
 }
diff --git a/modules/node.module b/modules/node.module
index 02e4043752388c5d42f80cb50994c1b6d8b973f1..6ab226562cbd159f564fb39ec8f087cd89859ee4 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1632,9 +1632,6 @@ function node_form_array($node) {
   if (!isset($form['title']['#weight'])) {
     $form['title']['#weight'] = -5;
   }
-  if (!isset($form['body']['#weight'])) {
-    $form['body']['#weight'] = 0;
-  }
 
   // If this is a new node, fill in the default values.
   $node_options = variable_get('node_options_'. $node->type, array('status', 'promote'));
diff --git a/modules/node/node.module b/modules/node/node.module
index 02e4043752388c5d42f80cb50994c1b6d8b973f1..6ab226562cbd159f564fb39ec8f087cd89859ee4 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1632,9 +1632,6 @@ function node_form_array($node) {
   if (!isset($form['title']['#weight'])) {
     $form['title']['#weight'] = -5;
   }
-  if (!isset($form['body']['#weight'])) {
-    $form['body']['#weight'] = 0;
-  }
 
   // If this is a new node, fill in the default values.
   $node_options = variable_get('node_options_'. $node->type, array('status', 'promote'));
diff --git a/modules/page.module b/modules/page.module
index 22eebc1cbb1f551cc32da43ff901f09d33fe8d5b..92b5469b8922b5b64e3c1e066a7fc92603f4ba78 100644
--- a/modules/page.module
+++ b/modules/page.module
@@ -94,7 +94,7 @@ function page_form(&$node) {
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
 
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
 
   $form['log'] = array(
     '#type' => 'textarea', '#title' => t('Log message'), '#default_value' => $node->log, '#weight' => 5,
diff --git a/modules/page/page.module b/modules/page/page.module
index 22eebc1cbb1f551cc32da43ff901f09d33fe8d5b..92b5469b8922b5b64e3c1e066a7fc92603f4ba78 100644
--- a/modules/page/page.module
+++ b/modules/page/page.module
@@ -94,7 +94,7 @@ function page_form(&$node) {
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
 
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
 
   $form['log'] = array(
     '#type' => 'textarea', '#title' => t('Log message'), '#default_value' => $node->log, '#weight' => 5,
diff --git a/modules/story.module b/modules/story.module
index 2f1887e62670bdb07216ea029e4339da35e5eadb..5221db6d1c790ff3b03f139dd4b79c01369b2430 100644
--- a/modules/story.module
+++ b/modules/story.module
@@ -87,7 +87,7 @@ function story_validate($node) {
 function story_form(&$node) {
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
   return $form;
 }
 
diff --git a/modules/story/story.module b/modules/story/story.module
index 2f1887e62670bdb07216ea029e4339da35e5eadb..5221db6d1c790ff3b03f139dd4b79c01369b2430 100644
--- a/modules/story/story.module
+++ b/modules/story/story.module
@@ -87,7 +87,7 @@ function story_validate($node) {
 function story_form(&$node) {
   $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5);
   $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE);
-  $form['body_filter']['format'] = filter_form($node->format, 1);
+  $form['body_filter']['format'] = filter_form($node->format);
   return $form;
 }
 
diff --git a/modules/user.module b/modules/user.module
index c128c46ea6b7d08defdfc5bb1c181ceea44d3e83..aefa1aea5e863e8ceb65eb8963b2881dd9f93d75 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -1170,7 +1170,7 @@ function user_register_submit($form_id, $form_values) {
 
 function user_edit_form($uid, $edit) {
   // Account information:
-  $form['account'] = array('#type' => 'fieldset', '#title' => t('Account information'), '#weight' => 0);
+  $form['account'] = array('#type' => 'fieldset', '#title' => t('Account information'));
   if (user_access('change own username') || user_access('administer users')) {
     $form['account']['name'] = array('#type' => 'textfield', '#title' => t('Username'), '#default_value' => $edit['name'], '#maxlength' => 55, '#description' => t('Your full name or your preferred username: only letters, numbers and spaces are allowed.'), '#required' => TRUE);
   }
diff --git a/modules/user/user.module b/modules/user/user.module
index c128c46ea6b7d08defdfc5bb1c181ceea44d3e83..aefa1aea5e863e8ceb65eb8963b2881dd9f93d75 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1170,7 +1170,7 @@ function user_register_submit($form_id, $form_values) {
 
 function user_edit_form($uid, $edit) {
   // Account information:
-  $form['account'] = array('#type' => 'fieldset', '#title' => t('Account information'), '#weight' => 0);
+  $form['account'] = array('#type' => 'fieldset', '#title' => t('Account information'));
   if (user_access('change own username') || user_access('administer users')) {
     $form['account']['name'] = array('#type' => 'textfield', '#title' => t('Username'), '#default_value' => $edit['name'], '#maxlength' => 55, '#description' => t('Your full name or your preferred username: only letters, numbers and spaces are allowed.'), '#required' => TRUE);
   }