mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
General: revert [38467], wp_is_IE() should not exist.
See #37699. git-svn-id: https://develop.svn.wordpress.org/trunk@38468 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1945,12 +1945,17 @@ function get_submit_button( $text = '', $type = 'primary large', $name = 'submit
|
||||
return $button;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @global bool $is_IE
|
||||
*/
|
||||
function _wp_admin_html_begin() {
|
||||
global $is_IE;
|
||||
|
||||
$admin_html_class = ( is_admin_bar_showing() ) ? 'wp-toolbar' : '';
|
||||
|
||||
if ( wp_is_IE() ) {
|
||||
if ( $is_IE )
|
||||
@header('X-UA-Compatible: IE=edge');
|
||||
}
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
|
||||
Reference in New Issue
Block a user