Make WordPress Core


Ignore:
Timestamp:
08/30/2006 09:46:31 PM (18 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

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

    r4107 r4144  
    6666                if ( isset($this->args[$handle]) )
    6767                    $ver .= '&' . $this->args[$handle];
    68                 $src = 0 === strpos($this->scripts[$handle]->src, 'http://') ? $this->scripts[$handle]->src : get_settings( 'siteurl' ) . $this->scripts[$handle]->src;
     68                $src = 0 === strpos($this->scripts[$handle]->src, 'http://') ? $this->scripts[$handle]->src : get_option( 'siteurl' ) . $this->scripts[$handle]->src;
    6969                echo "<script type='text/javascript' src='$src?ver=$ver'></script>\n";
    7070                $this->printed[] = $handle;
Note: See TracChangeset for help on using the changeset viewer.