From b4166d8f13962ddeb149587fccb136e1f2479712 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 19 Feb 2006 11:22:28 +0000 Subject: [PATCH] Fix edit and delete page buttons. Props wellsdjohn. fixes #2382 git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3555 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-pages.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 4e5a04d12e..8d44faf75b 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -43,7 +43,7 @@ if ($posts) { if ( isset($_GET['s']) ) { foreach ( $posts as $post ) : $class = ('alternate' != $class) ? 'alternate' : ''; ?> - + ID; ?> @@ -51,8 +51,8 @@ foreach ( $posts as $post ) : post_modified); ?> - " . __('Edit') . ""; } ?> - " . __('Delete') . ""; } ?> + ID' class='edit'>" . __('Edit') . ""; } ?> + ID' class='delete' onclick=\"return deleteSomething( 'page', " . $id . ", '" . sprintf(__("You are about to delete the "%s" page.\\n"OK" to delete, "Cancel" to stop."), wp_specialchars(get_the_title('','',0), 1)) . "' );\">" . __('Delete') . ""; } ?>