mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 07:07:04 +00:00
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -102,7 +102,7 @@ class WP_Styles extends WP_Dependencies {
|
||||
|
||||
$src = add_query_arg('ver', $ver, $src);
|
||||
$src = apply_filters( 'style_loader_src', $src, $handle );
|
||||
return clean_url( $src );
|
||||
return esc_url( $src );
|
||||
}
|
||||
|
||||
function in_default_dir($src) {
|
||||
|
||||
Reference in New Issue
Block a user