equal
deleted
inserted
replaced
133 $this->to_do = apply_filters( 'print_styles_array', $this->to_do ); |
133 $this->to_do = apply_filters( 'print_styles_array', $this->to_do ); |
134 return $r; |
134 return $r; |
135 } |
135 } |
136 |
136 |
137 function _css_href( $src, $ver, $handle ) { |
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 $src = $this->base_url . $src; |
139 $src = $this->base_url . $src; |
140 } |
140 } |
141 |
141 |
142 if ( !empty($ver) ) |
142 if ( !empty($ver) ) |
143 $src = add_query_arg('ver', $ver, $src); |
143 $src = add_query_arg('ver', $ver, $src); |