Changeset 35439 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 10/30/2015 12:57:22 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r35374 r35439 1485 1485 } elseif ( !MEDIA_TRASH ) { 1486 1486 $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a> 1487 <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'><p>" . sprintf( __( 'You are about to delete <strong>%s</strong>.' ), $filename ) . "</p> 1487 <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'>" . 1488 /* translators: %s: file name */ 1489 '<p>' . sprintf( __( 'You are about to delete %s.' ), '<strong>' . $filename . '</strong>' ) . "</p> 1488 1490 <a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='button'>" . __( 'Continue' ) . "</a> 1489 1491 <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a>
Note: See TracChangeset
for help on using the changeset viewer.