Make WordPress Core


Ignore:
Timestamp:
07/22/2014 02:19:21 AM (12 years ago)
Author:
helen
Message:

Move the "view" link for attachment details to the sidebar and use more specific language. Removes an unnecessary JS handler. fixes #28977.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r29262 r29263  
    298298                                        <# } #>
    299299
    300                                         <a class="button view-attachment" href="#"><?php _e( 'View' ); ?></a>
    301 
    302300                                        <# if ( ! data.uploading && data.can.remove ) { #>
    303301                                                <?php if ( MEDIA_TRASH ): ?>
    … …  
    394392                        </div>
    395393
     394                        <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a> |
    396395                        <a href="post.php?post={{ data.id }}&action=edit"><?php _e( 'Edit more details' ); ?></a>
    397396
Note: See TracChangeset for help on using the changeset viewer.