diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php
index 5fa6b254a9..2349a8d24e 100644
--- a/wp-admin/edit-page-form.php
+++ b/wp-admin/edit-page-form.php
@@ -219,8 +219,9 @@ if($metadata = has_meta($post_ID)) {
-
- post_title) ) . "')\""; ?> />
+
+ post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> />