Changeset 8998 for trunk/wp-admin/media.php
- Timestamp:
- 09/27/2008 08:17:55 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/media.php
r8901 r8998 24 24 25 25 $errors = media_upload_form_handler(); 26 27 28 check_admin_referer('media-form');29 30 if ( !current_user_can('edit_post', $attachment_id) )31 wp_die ( __('You are not allowed to edit this attachment.') );32 26 33 27 if ( empty($errors) ) { … … 93 87 94 88 <form method="post" action="<?php echo clean_url( remove_query_arg( 'message' ) ); ?>" class="media-upload-form" id="media-single-form"> 95 <div id="media-items"class="media-single">89 <div class="media-single"> 96 90 <div id='media-item-<?php echo $att_id; ?>' class='media-item'> 97 <?php echo get_media_item( $att_id, array( 'toggle' => false, 'send' => false, 'delete' => false, ' errors' => $errors ) ); ?>91 <?php echo get_media_item( $att_id, array( 'toggle' => false, 'send' => false, 'delete' => false, 'show_title' => false, 'errors' => $errors ) ); ?> 98 92 </div> 99 93 </div>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)