Skip to content
Snippets Groups Projects
Commit d62b3234 authored by Erick Hitter's avatar Erick Hitter
Browse files

Host shouldn't be slashed

parent e6c5b324
Branches
No related tags found
3 merge requests!6add linting,!5WIP: Add JUnit reporting,!4WIP: Initial release
...@@ -98,6 +98,11 @@ class Options { ...@@ -98,6 +98,11 @@ class Options {
switch ( $option ) { switch ( $option ) {
case 'host': case 'host':
$value = esc_url( $value ); $value = esc_url( $value );
if ( ! empty( $value ) ) {
$value = untrailingslashit( $value );
}
break; break;
case 'key': case 'key':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment