diff --git a/modules/node.module b/modules/node.module index 3cd00a5e5dc28457388dbf0a2c9e736dcea421a3..a62f0dbc88d8eff2633580a66bf583fe2f853023 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1787,13 +1787,6 @@ function node_add($type) { // Initialize settings: $node = array('uid' => $user->uid, 'name' => $user->name, 'type' => $type); - // Allow the following fields to be initialized via $_GET (e.g. for use - // with a "blog it" bookmarklet): - foreach (array('title', 'teaser', 'body') as $field) { - if ($_GET['edit'][$field]) { - $node[$field] = $_GET['edit'][$field]; - } - } $output = node_form($node); drupal_set_title(t('Submit %name', array('%name' => node_get_name($node)))); } diff --git a/modules/node/node.module b/modules/node/node.module index 3cd00a5e5dc28457388dbf0a2c9e736dcea421a3..a62f0dbc88d8eff2633580a66bf583fe2f853023 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1787,13 +1787,6 @@ function node_add($type) { // Initialize settings: $node = array('uid' => $user->uid, 'name' => $user->name, 'type' => $type); - // Allow the following fields to be initialized via $_GET (e.g. for use - // with a "blog it" bookmarklet): - foreach (array('title', 'teaser', 'body') as $field) { - if ($_GET['edit'][$field]) { - $node[$field] = $_GET['edit'][$field]; - } - } $output = node_form($node); drupal_set_title(t('Submit %name', array('%name' => node_get_name($node)))); }