Inline documentation for hooks in wp-includes/vars.php.

Props tmtoy, nacin.
Fixes #25466.

Built from https://develop.svn.wordpress.org/trunk@25712


git-svn-id: http://core.svn.wordpress.org/trunk@25625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2013-10-07 15:30:09 +00:00
parent 1863c06879
commit a71a1ee072
1 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,13 @@ if ( isset($_SERVER['HTTP_USER_AGENT']) ) {
$is_lynx = true;
} elseif ( stripos($_SERVER['HTTP_USER_AGENT'], 'chrome') !== false ) {
if ( stripos( $_SERVER['HTTP_USER_AGENT'], 'chromeframe' ) !== false ) {
/**
* Filter whether Google Chrome Frame should be used, if available.
*
* @since 3.2.0
*
* @param bool $is_admin Whether to use the Google Chrome Frame. Default is the value of is_admin().
*/
if ( $is_chrome = apply_filters( 'use_google_chrome_frame', is_admin() ) )
header( 'X-UA-Compatible: chrome=1' );
$is_winIE = ! $is_chrome;