Changeset 14099 for trunk/wp-admin/includes/template.php
- Timestamp:
- 04/16/2010 02:29:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r14091 r14099 1360 1360 $actions['trash'] = "<a class='submitdelete' title='" . esc_attr(__('Move this post to the Trash')) . "' href='" . get_delete_post_link($post->ID) . "'>" . __('Trash') . "</a>"; 1361 1361 if ( 'trash' == $post->post_status || !EMPTY_TRASH_DAYS ) 1362 $actions['delete'] = "<a class='submitdelete' title='" . esc_attr(__('Delete this post permanently')) . "' href='" . wp_nonce_url( admin_url( sprintf($post_type_object->_edit_link . '&action=delete', $post->ID) ), 'delete-' . $post->post_type . '_' . $post->ID) . "'>" . __('Delete Permanently') . "</a>";1362 $actions['delete'] = "<a class='submitdelete' title='" . esc_attr(__('Delete this post permanently')) . "' href='" . get_delete_post_link($post->ID, '', true) . "'>" . __('Delete Permanently') . "</a>"; 1363 1363 } 1364 1364 if ( in_array($post->post_status, array('pending', 'draft')) ) {
Note: See TracChangeset
for help on using the changeset viewer.