WordPress.org

Make WordPress Core

Changeset 25718


Ignore:
Timestamp:
10/07/2013 05:55:45 PM (6 years ago)
Author:
DrewAPicture
Message:

Add missing variable for inline hook documentation changes in wp-includes/vars.php.

See #25466.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/vars.php

    r25712 r25718  
    5353    } elseif ( stripos($_SERVER['HTTP_USER_AGENT'], 'chrome') !== false ) {
    5454        if ( stripos( $_SERVER['HTTP_USER_AGENT'], 'chromeframe' ) !== false ) {
     55            $is_admin = is_admin();
    5556            /**
    5657             * Filter whether Google Chrome Frame should be used, if available.
     
    6061             * @param bool $is_admin Whether to use the Google Chrome Frame. Default is the value of is_admin().
    6162             */
    62             if ( $is_chrome = apply_filters( 'use_google_chrome_frame', is_admin() ) )
     63            if ( $is_chrome = apply_filters( 'use_google_chrome_frame', $is_admin ) )
    6364                header( 'X-UA-Compatible: chrome=1' );
    6465            $is_winIE = ! $is_chrome;
Note: See TracChangeset for help on using the changeset viewer.