Commit d62b3234 authored by Erick Hitter's avatar Erick Hitter

Host shouldn't be slashed

parent e6c5b324
......@@ -98,6 +98,11 @@ class Options {
switch ( $option ) {
case 'host':
$value = esc_url( $value );
if ( ! empty( $value ) ) {
$value = untrailingslashit( $value );
}
break;
case 'key':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment