Changeset 8895 for trunk/wp-admin/includes/template.php
- Timestamp:
- 09/15/2008 07:28:26 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r8894 r8895 763 763 764 764 $actions = array(); 765 $actions['edit'] = '<a href=" post.php?action=edit&post=' . $post->ID. '">' . __('Edit') . '</a>';765 $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '">' . __('Edit') . '</a>'; 766 766 $actions['inline'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; 767 767 $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>";
Note: See TracChangeset
for help on using the changeset viewer.