Skip to content
Snippets Groups Projects

add linting

Merged Erick Hitter requested to merge add/lint into master
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -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':
Loading