-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make URL builder use site_url() to get correct http scheme #69
Conversation
@@ -505,7 +505,7 @@ static function get_cache_option_name( $src_hash ) { | |||
static function get_dependency_minified_url( array $deps, $type ) { | |||
$src_hash = self::hash_array( wp_list_pluck( $deps, 'src' ) ); | |||
$ver_hash = self::hash_array( wp_list_pluck( $deps, 'ver' ) ); | |||
$src = trailingslashit( get_option( 'home' ) . DIRECTORY_SEPARATOR . self::$options['endpoint'] ); | |||
$src = esc_url( trailingslashit( site_url( self::$options['endpoint'] ) ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@topher1kenobe I don't believe this should be esc_url
this here. It will get escaped later when output.
Also fixes #50. |
See also #54. |
@@ -1 +0,0 @@ | |||
bin/.travis.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the deletion of this symlink?
@topher1kenobe in think you meant to merge this on your fork instead. |
Yeah, I'm working on fixing it. |
Done. I reset the branch back to c579d69. |
git reset --hard c579d699e9ba9facdeee721675e51930c0c6f839
git push -f |
I did as well. |
@westonruter could you review and let me know what you think?