From 281418c54ea67f782724923923a47a61b2f1711b Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 27 Jun 2006 07:01:16 +0000 Subject: [PATCH] Add delete page nonce. fixes #2847 git-svn-id: http://svn.automattic.com/wordpress/trunk@3932 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-page-form.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index 14d5fa8010..de6dd623cb 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -184,8 +184,9 @@ list_meta($metadata); ID) ) ?> - post_title) ) . "')\""; ?> /> + post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> />