Changeset 21166 for trunk/wp-includes/class.wp-styles.php
- Timestamp:
- 06/28/2012 08:18:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-styles.php
r19712 r21166 136 136 137 137 function _css_href( $src, $ver, $handle ) { 138 if ( !is_bool($src) && !preg_match('|^ https?://|', $src) && ! ( $this->content_url && 0 === strpos($src, $this->content_url) ) ) {138 if ( !is_bool($src) && !preg_match('|^(https?:)?//|', $src) && ! ( $this->content_url && 0 === strpos($src, $this->content_url) ) ) { 139 139 $src = $this->base_url . $src; 140 140 }
Note: See TracChangeset
for help on using the changeset viewer.