WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A quick google search for "Wordpress Dashboard Chrome Frame" seems to indicate that 3.2 and up integrate Google Chrome Frame is included in the Dashboard, but I haven't been able to find anything official from Wordpress about it, and when I inspect the headers in Chrome, I don't see the standard Chrome Frame headers. Anyone know anything about this?

share|improve this question

From wp-includes/vars.php:

if ( isset($_SERVER['HTTP_USER_AGENT']) ) {
    if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx') !== false ) {
        $is_lynx = true;
    } elseif ( stripos($_SERVER['HTTP_USER_AGENT'], 'chrome') !== false ) {
        if ( stripos( $_SERVER['HTTP_USER_AGENT'], 'chromeframe' ) !== false ) {
            if ( $is_chrome = apply_filters( 'use_google_chrome_frame', is_admin() ) )
                header( 'X-UA-Compatible: chrome=1' );
            $is_winIE = ! $is_chrome;
        } else {
            $is_chrome = true;

In plain English: If a user agent header is set, and there is the string chrome in it and the string chromeframe too – read: it is an Internet Explorer with Chrome Frame installed – and it is an request to wp-admin … then send X-UA-Compatible: chrome=1.

[…] when I inspect the headers in Chrome, I don't see the standard Chrome Frame headers.

Of course you don’t. Chrome Frame is an extension for Internet Explorer, not for the Chrome browser. :)

share|improve this answer
In theory, I see why this should work. Detect if Chrome Frame is installed, and if so, send the header with the command to use it. However, Chrome Frame wasn't activating in IE for me until I added a plugin to Wordpress (wordpress.org/extend/plugins/chrome-frame) It works fine with the plugin, but I thought it was supposed to work out of the box without a plugin? – Josiah Sprague Nov 10 '12 at 3:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.