Make WordPress Core

Ticket #44620: 44620.diff

File 44620.diff, 692 bytes (added by johnbillion, 7 years ago)
  • src/wp-includes/media-template.php

    diff --git src/wp-includes/media-template.php src/wp-includes/media-template.php
    index 0dbba580f4..365dd3a395 100644
    function wp_print_media_templates() { 
    454454                        <div class="actions">
    455455                                <a class="view-attachment" href="{{ data.link }}"><?php _e( 'View attachment page' ); ?></a>
    456456                                <# if ( data.can.save ) { #> |
    457                                         <a href="post.php?post={{ data.id }}&action=edit"><?php _e( 'Edit more details' ); ?></a>
     457                                        <a href="{{ data.editLink }}"><?php _e( 'Edit more details' ); ?></a>
    458458                                <# } #>
    459459                                <# if ( ! data.uploading && data.can.remove ) { #> |
    460460                                        <?php if ( MEDIA_TRASH ) : ?>