Changeset 25718
- Timestamp:
- 10/07/2013 05:55:45 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/vars.php
r25712 r25718 53 53 } elseif ( stripos($_SERVER['HTTP_USER_AGENT'], 'chrome') !== false ) { 54 54 if ( stripos( $_SERVER['HTTP_USER_AGENT'], 'chromeframe' ) !== false ) { 55 $is_admin = is_admin(); 55 56 /** 56 57 * Filter whether Google Chrome Frame should be used, if available. … … 60 61 * @param bool $is_admin Whether to use the Google Chrome Frame. Default is the value of is_admin(). 61 62 */ 62 if ( $is_chrome = apply_filters( 'use_google_chrome_frame', is_admin()) )63 if ( $is_chrome = apply_filters( 'use_google_chrome_frame', $is_admin ) ) 63 64 header( 'X-UA-Compatible: chrome=1' ); 64 65 $is_winIE = ! $is_chrome;
Note: See TracChangeset
for help on using the changeset viewer.