Changeset 21166 for trunk/wp-includes/class.wp-scripts.php
- Timestamp:
- 06/28/2012 08:18:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-scripts.php
r21132 r21166 111 111 112 112 $this->print_extra_script( $handle ); 113 if ( !preg_match('|^ https?://|', $src) && ! ( $this->content_url && 0 === strpos($src, $this->content_url) ) ) {113 if ( !preg_match('|^(https?:)?//|', $src) && ! ( $this->content_url && 0 === strpos($src, $this->content_url) ) ) { 114 114 $src = $this->base_url . $src; 115 115 }
Note: See TracChangeset
for help on using the changeset viewer.