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