Ticket #18966: 18966-3.patch
| File 18966-3.patch, 4.1 KB (added by azaozz, 19 months ago) |
|---|
-
wp-admin/admin-header.php
33 33 34 34 wp_user_settings(); 35 35 36 _wp_admin_html_begin(); 36 37 ?> 37 <!DOCTYPE html>38 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo "$wp_htmltag_class "; language_attributes(); ?>>39 <head>40 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />41 38 <title><?php echo $admin_title; ?></title> 42 39 <?php 43 40 -
wp-admin/includes/media.php
309 309 * @param unknown_type $content_func 310 310 */ 311 311 function wp_iframe($content_func /* ... */) { 312 _wp_admin_html_begin(); 312 313 ?> 313 <!DOCTYPE html>314 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo $GLOBALS['wp_htmltag_class'] . ' '; language_attributes(); ?>>315 <head>316 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />317 314 <title><?php bloginfo('name') ?> › <?php _e('Uploads'); ?> — <?php _e('WordPress'); ?></title> 318 315 <?php 319 316 -
wp-admin/includes/template.php
1352 1352 global $hook_suffix, $current_screen, $current_user, $admin_body_class, $wp_locale; 1353 1353 $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix); 1354 1354 1355 ?><!DOCTYPE html> 1356 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo $GLOBALS['wp_htmltag_class'] . ' '; language_attributes(); ?>> 1357 <head> 1358 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 1355 _wp_admin_html_begin(); 1356 ?> 1359 1357 <title><?php bloginfo('name') ?> › <?php echo $title ?> — <?php _e('WordPress'); ?></title> 1360 1358 <?php 1361 1359 wp_enqueue_style( 'colors' ); … … 1629 1627 return $button; 1630 1628 } 1631 1629 1630 function _wp_admin_html_begin() { 1631 ?> 1632 <!DOCTYPE html> 1633 <!--[if IE 8]> 1634 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 1635 <![endif]--> 1636 <!--[if !(IE 8) ]><!--> 1637 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>> 1638 <!--<![endif]--> 1639 <head> 1640 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" /> 1641 <?php 1642 } 1643 1632 1644 /** 1633 1645 * Initializes the new feature pointers. 1634 1646 * -
wp-admin/press-this.php
280 280 die; 281 281 } 282 282 283 ?>284 <!DOCTYPE html>285 <html xmlns="http://www.w3.org/1999/xhtml" <?php do_action('admin_xml_ns'); echo "$wp_htmltag_class "; language_attributes(); ?>>286 <head>287 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />288 <title><?php _e('Press This') ?></title>289 290 <?php291 283 wp_enqueue_style( 'colors' ); 292 284 wp_enqueue_script( 'post' ); 285 _wp_admin_html_begin(); 293 286 ?> 287 <title><?php _e('Press This') ?></title> 294 288 <script type="text/javascript"> 295 289 //<![CDATA[ 296 290 addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; -
wp-includes/vars.php
74 74 75 75 $is_IE = ( $is_macIE || $is_winIE ); 76 76 77 $wp_htmltag_class = strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 8.') ? ' class="ie8"' : ''; // can't start with this78 79 77 // Server detection 80 78 81 79 /**
