Ticket #25466: vars-2.diff
| File vars-2.diff, 970 bytes (added by , 13 years ago) |
|---|
-
src/wp-includes/vars.php
52 52 $is_lynx = true; 53 53 } elseif ( stripos($_SERVER['HTTP_USER_AGENT'], 'chrome') !== false ) { 54 54 if ( stripos( $_SERVER['HTTP_USER_AGENT'], 'chromeframe' ) !== false ) { 55 if ( $is_chrome = apply_filters( 'use_google_chrome_frame', is_admin() ) ) 55 $is_admin = is_admin(); 56 /** 57 * Filter to whether Google Chrome Frame should be used, if available. 58 * 59 * @since 3.2.0 60 * 61 * @param bool $is_admin Default true (when in admin), false (when not) If the Dashboard or the administration panel is attempting to be displayed. 62 */ 63 if ( $is_chrome = apply_filters( 'use_google_chrome_frame', $is_admin ) ) 56 64 header( 'X-UA-Compatible: chrome=1' ); 57 65 $is_winIE = ! $is_chrome; 58 66 } else {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)