Changeset 42228 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r42217 r42228 1510 1510 } elseif ( !MEDIA_TRASH ) { 1511 1511 $delete = "<a href='#' class='del-link' onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __( 'Delete' ) . "</a> 1512 1513 1514 '<p>' . sprintf( __( 'You are about to delete %s.' ), '<strong>' . $filename . '</strong>' ) . "</p>1515 1516 1517 1512 <div id='del_attachment_$attachment_id' class='del-attachment' style='display:none;'>" . 1513 /* translators: %s: file name */ 1514 '<p>' . sprintf( __( 'You are about to delete %s.' ), '<strong>' . $filename . '</strong>' ) . "</p> 1515 <a href='" . wp_nonce_url( "post.php?action=delete&post=$attachment_id", 'delete-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='button'>" . __( 'Continue' ) . "</a> 1516 <a href='#' class='button' onclick=\"this.parentNode.style.display='none';return false;\">" . __( 'Cancel' ) . "</a> 1517 </div>"; 1518 1518 } else { 1519 1519 $delete = "<a href='" . wp_nonce_url( "post.php?action=trash&post=$attachment_id", 'trash-post_' . $attachment_id ) . "' id='del[$attachment_id]' class='delete'>" . __( 'Move to Trash' ) . "</a> … … 2672 2672 ?> 2673 2673 <p class="upload-html-bypass hide-if-no-js"> 2674 2674 <?php _e('You are using the browser’s built-in file uploader. The WordPress uploader includes multiple file selection and drag and drop capability. <a href="#">Switch to the multi-file uploader</a>.'); ?> 2675 2675 </p> 2676 2676 <?php
Note: See TracChangeset
for help on using the changeset viewer.