WordPress.org

Make WordPress Core

Changeset 25712


Ignore:
Timestamp:
10/07/2013 03:29:14 PM (8 years ago)
Author:
DrewAPicture
Message:

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

Props tmtoy, nacin.
Fixes #25466.

File:
1 edited

Legend:

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

    r25456 r25712  
    5353    } elseif ( stripos($_SERVER['HTTP_USER_AGENT'], 'chrome') !== false ) {
    5454        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             */
    5562            if ( $is_chrome = apply_filters( 'use_google_chrome_frame', is_admin() ) )
    5663                header( 'X-UA-Compatible: chrome=1' );
Note: See TracChangeset for help on using the changeset viewer.