Changeset 22869 for trunk/wp-includes/media.php
- Timestamp:
- 11/27/2012 03:50:59 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/media.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22868 r22869 1328 1328 'icon' => wp_mime_type_icon( $attachment->ID ), 1329 1329 'dateFormatted' => mysql2date( get_option('date_format'), $attachment->post_date ), 1330 'nonces' => array( 1331 'update' => wp_create_nonce( 'update-post_' . $attachment->ID ), 1332 'delete' => wp_create_nonce( 'delete-post_' . $attachment->ID ), 1333 ), 1330 1334 ); 1331 1335 … … 1453 1457 'insertIntoPost' => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ), 1454 1458 'uploadedToThisPost' => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ), 1459 'warnDelete' => __( "You are about to permanently delete this item.\n 'Cancel' to stop, 'OK' to delete." ), 1455 1460 1456 1461 // From URL … … 1641 1646 <# if ( 'image' === data.type && ! data.uploading ) { #> 1642 1647 <div class="dimensions">{{ data.width }} × {{ data.height }}</div> 1648 <# } #> 1649 <# if ( ! data.uploading ) { #> 1650 <div class="delete-attachment"> 1651 <a href="#"><?php _e( 'Delete Permanently' ); ?></a> 1652 </div> 1643 1653 <# } #> 1644 1654 </div>
Note: See TracChangeset
for help on using the changeset viewer.