Make WordPress Core


Ignore:
Timestamp:
01/26/2009 12:59:10 PM (15 years ago)
Author:
azaozz
Message:

Improvements to the script loader: allows plugins to queue scripts for the front end head and footer, adds hooks for server side caching of compressed scripts, adds support for ENFORCE_GZIP constant (deflate is used by default since it's faster), see #8628, fixes #8884

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-styles.php

    r10357 r10442  
    4242        if ( $this->do_concat ) {
    4343            if ( $this->in_default_dir($this->registered[$handle]->src) && !isset($this->registered[$handle]->extra['conditional']) && !isset($this->registered[$handle]->extra['alt']) ) {
    44                 $this->concat .= $handle . ',';
    45                 $this->concat_version .= $ver;
     44                $this->concat .= "$handle,";
     45                $this->concat_version .= "$handle$ver";
    4646                return true;
    4747            }
     
    8989    }
    9090
    91     function all_deps( $handles, $recursion = false ) {
     91    function all_deps( $handles, $recursion = false, $group = false ) {
    9292        $r = parent::all_deps( $handles, $recursion );
    9393        if ( !$recursion )
Note: See TracChangeset for help on using the changeset viewer.