Remove remains from the old bookmarklet code

git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-10-14 05:53:49 +00:00
parent 529e336c1e
commit aaae110d8f
6 changed files with 7 additions and 30 deletions

View File

@@ -109,12 +109,8 @@ require_once('admin-header.php');
<div id="message" class="updated fade"><p><?php echo $message; ?></p></div>
<?php endif; ?>
<?php
wp_nonce_field($nonce_action);
<?php wp_nonce_field($nonce_action); ?>
if (isset($mode) && 'bookmarklet' == $mode)
echo '<input type="hidden" name="mode" value="bookmarklet" />';
?>
<input type="hidden" id="user-id" name="user_ID" value="<?php echo $user_ID ?>" />
<input type="hidden" id="hiddenaction" name="action" value='<?php echo esc_attr($form_action) ?>' />
<input type="hidden" id="originalaction" name="originalaction" value="<?php echo esc_attr($form_action) ?>" />