[wp-trac] [WordPress Trac] #37551: Remove 512 bytes padding for older IE versions

WordPress Trac noreply at wordpress.org
Mon Jul 31 12:54:12 UTC 2017


#37551: Remove 512 bytes padding for older IE versions
------------------------------------+------------------
 Reporter:  rfair404                |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  4.9
Component:  Login and Registration  |     Version:  2.9
 Severity:  trivial                 |  Resolution:
 Keywords:  has-patch commit        |     Focuses:
------------------------------------+------------------

Comment (by SergeyBiryukov):

 Did some testing with IE 11, which is still supported, per
 [https://make.wordpress.org/core/2017/04/23/target-browser-coverage/
 Target Browser Coverage] post on make/core:

 * As @Clorith noted in comment:2,
 [https://blogs.msdn.microsoft.com/ieinternals/2010/08/18/friendly-http-
 error-pages/ Friendly HTTP Error Pages] are still enabled by default, so
 if the error page length is less than 512 bytes, IE 11 displays its own
 page instead of the provided one, same as previous versions.
 * That said, the styles added in [18534] and adjusted in [19297], [19417],
 [20209] provide enough padding to exceed that threshold, even with gzip
 compression enabled. Testing error page length for an empty comment with
 `Ticket #11289, IE bug fix` padding removed:
  * With gzip disabled: 2442 bytes
  * With gzip enabled: 981 bytes

 So I think it's safe enough to remove the IE-specific padding.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37551#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list