Make WordPress Core

Changeset 3930


Ignore:
Timestamp:
06/27/2006 06:42:01 AM (18 years ago)
Author:
ryan
Message:

Make script src valid. Props Nazgul. #2857

File:
1 edited

Legend:

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

    r3847 r3930  
    6363                $ver = $this->scripts[$handle]->ver ? $this->scripts[$handle]->ver : $wp_db_version;
    6464                if ( isset($this->args[$handle]) )
    65                     $ver .= '&' . $this->args[$handle];
     65                    $ver .= '&' . $this->args[$handle];
    6666                $src = 0 === strpos($this->scripts[$handle]->src, 'http://') ? $this->scripts[$handle]->src : get_settings( 'siteurl' ) . $this->scripts[$handle]->src;
    6767                echo "<script type='text/javascript' src='$src?ver=$ver'></script>\n";
Note: See TracChangeset for help on using the changeset viewer.