Make WordPress Core

Ticket #48028: 48028.patch

File 48028.patch, 680 bytes (added by fblaser, 7 years ago)

This should do it.

  • src/wp-includes/media-template.php

    diff --git src/wp-includes/media-template.php src/wp-includes/media-template.php
    index 0312b177a7..e61fd77b3b 100644
    function wp_print_media_templates() { 
    604604                                        <# } #>
    605605
    606606                                        <# if ( data.can.save && data.sizes ) { #>
    607                                                 <a class="edit-attachment" href="{{ data.editLink }}&amp;image-editor" target="_blank"><?php _e( 'Edit Image' ); ?></a>
     607                                                <a class="edit-attachment" href="{{ data.editLink }}&amp;image-editor" target="_blank"><?php _e( 'Edit Image' ); ?><span class="screen-reader-text"> (<?php _e('Opens in a new window');?>)</span></a>
    608608                                        <# } #>
    609609                                <# } #>
    610610