From 5ff77be20012e1355bc35d70efdb68793b1b36c7 Mon Sep 17 00:00:00 2001
From: Andrew Ozz <admin@laptoptips.ca>
Date: Tue, 15 Jul 2014 22:37:14 +0000
Subject: [PATCH] Editor scrolling: also disable in IE < 9. See #28328. Built
 from https://develop.svn.wordpress.org/trunk@29180

git-svn-id: http://core.svn.wordpress.org/trunk@28964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
 wp-admin/edit-form-advanced.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index 52e0c6c125..5bfd4a8e6d 100644
--- a/wp-admin/edit-form-advanced.php
+++ b/wp-admin/edit-form-advanced.php
@@ -12,7 +12,9 @@ if ( !defined('ABSPATH') )
 
 wp_enqueue_script('post');
 
-if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() ) {
+if ( post_type_supports( $post_type, 'editor' ) && ! wp_is_mobile() &&
+	 ! ( $is_IE && preg_match( '/MSIE [5678]/', $_SERVER['HTTP_USER_AGENT'] ) ) ) {
+
 	wp_enqueue_script('editor-expand');
 	$_wp_autoresize_on = true;
 }