Make WordPress Core


Ignore:
Timestamp:
04/11/2011 06:55:11 PM (14 years ago)
Author:
ryan
Message:

Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r17625 r17630  
    16161616
    16171617    $compressed = $compress_scripts && $concatenate_scripts && isset($_SERVER['HTTP_ACCEPT_ENCODING'])
    1618         && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip');
     1618        && false !== stripos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip');
    16191619
    16201620    /**
Note: See TracChangeset for help on using the changeset viewer.