From 4be040914ad8da0e04eb2340405f00d52c823572 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 14 Oct 2008 18:11:06 +0000 Subject: [PATCH] Add title attributes to page actions git-svn-id: https://develop.svn.wordpress.org/trunk@9174 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 7d9ed0ddaa..bd7025db28 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1451,8 +1451,8 @@ foreach ($posts_columns as $column_name=>$column_display_name) { >ID ) ) { ?>"> ' . __('Edit') . ''; - $actions['delete'] = "ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $page->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $page->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . ""; + $actions['edit'] = '' . __('Edit') . ''; + $actions['delete'] = "ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $page->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $page->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . ""; if ( in_array($post->post_status, array('pending', 'draft')) ) $actions['view'] = '' . __('Preview') . ''; else