mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 07:07:04 +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:
@@ -1187,6 +1187,7 @@ class WP_Press_This {
|
||||
* @access public
|
||||
*
|
||||
* @global WP_Locale $wp_locale
|
||||
* @global bool $is_IE
|
||||
*/
|
||||
public function html() {
|
||||
global $wp_locale;
|
||||
@@ -1226,7 +1227,7 @@ class WP_Press_This {
|
||||
|
||||
add_filter( 'mce_css', array( $this, 'add_editor_style' ) );
|
||||
|
||||
if ( wp_is_IE() ) {
|
||||
if ( ! empty( $GLOBALS['is_IE'] ) ) {
|
||||
@header( 'X-UA-Compatible: IE=edge' );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user