Skip to content
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

Fix Broken Unit Test on WP Trunk #539

Closed

Conversation

JPry
Copy link
Contributor

@JPry JPry commented Dec 6, 2015

Use esc_url_raw() on the expected value test.

This will ensure that what we expect is always the same as
what WordPress gives us.

This will ensure that what we expect is always the same as
what WordPress gives us.
@jtsternberg
Copy link
Member

@JPry esc_url_raw( 'http://' . $value ) should just be esc_url_raw( $value ).

@JPry
Copy link
Contributor Author

JPry commented Dec 10, 2015

Merged in d772c27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants