Make WordPress Core

Changeset 26381


Ignore:
Timestamp:
11/26/2013 02:40:09 AM (11 years ago)
Author:
dd32
Message:

Revert the change to use add_query_arg() for Open Sans, as it causes a fatal error when script concatenation is used. See #26063

File:
1 edited

Legend:

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

    r26377 r26381  
    581581        }
    582582
    583         $query_args = array(
    584             'family' => 'Open+Sans:300italic,400italic,600italic,300,400,600',
    585             'subset' => $subsets,
    586         );
    587583        // Hotlink Open Sans, for now
    588         $open_sans_font_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' );
     584        $open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
    589585    }
    590586
Note: See TracChangeset for help on using the changeset viewer.