diff -r 3d4e9c994f10 -r a86126ab1dd4 wp/wp-includes/media-template.php --- a/wp/wp-includes/media-template.php Tue Oct 22 16:11:46 2019 +0200 +++ b/wp/wp-includes/media-template.php Tue Dec 15 13:49:49 2020 +0100 @@ -152,49 +152,49 @@ * Prints the templates used in the media manager. * * @since 3.5.0 - * - * @global bool $is_IE */ function wp_print_media_templates() { - global $is_IE; $class = 'media-modal wp-core-ui'; - if ( $is_IE && strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 7' ) !== false ) { - $class .= ' ie7'; - } $alt_text_description = sprintf( - /* translators: 1: link to tutorial, 2: additional link attributes, 3: accessibility text */ + /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */ __( 'Describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ), 'target="_blank" rel="noopener noreferrer"', sprintf( ' %s', - /* translators: accessibility text */ + /* translators: Accessibility text. */ __( '(opens in a new tab)' ) ) ); ?> - + + + + + + + + + + + + + + + + + + + + + + + + + +