Changeset 12593 for branches/2.9/wp-admin/edit-attachment-rows.php
- Timestamp:
- 12/31/2009 10:22:44 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.9/wp-admin/edit-attachment-rows.php
r12377 r12593 97 97 elseif ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) 98 98 $actions['trash'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=trash&post=$post->ID", 'trash-post_' . $post->ID) . "'>" . __('Trash') . "</a>"; 99 if ( $is_trash || !EMPTY_TRASH_DAYS || !MEDIA_TRASH ) 100 $actions['delete'] = "<a class='submitdelete' href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "'>" . __('Delete Permanently') . "</a>"; 99 if ( $is_trash || !EMPTY_TRASH_DAYS || !MEDIA_TRASH ) { 100 $delete_ays = (!$is_trash && !MEDIA_TRASH) ? " onclick='return showNotice.warn();'" : ''; 101 $actions['delete'] = "<a class='submitdelete'$delete_ays href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "'>" . __('Delete Permanently') . "</a>"; 102 } 101 103 } 102 104 if ( !$is_trash )
Note: See TracChangeset
for help on using the changeset viewer.