Skip to content

Commit 8b35dba

Browse files
committed
Default protocol to https
More likely to be correct, today.
1 parent 6a3afa8 commit 8b35dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/my-calendar-event-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2471,7 +2471,7 @@ function mc_check_data( $action, $post, $i, $ignore_required = false ) {
24712471
}
24722472
// Check for valid URL (blank or starting with http://).
24732473
if ( ! ( '' === $event_link || preg_match( '/^(http)(s?)(:)\/\//', $event_link ) ) ) {
2474-
$event_link = 'http://' . $event_link;
2474+
$event_link = 'https://' . $event_link;
24752475
}
24762476
}
24772477
// A title is required, and can't be more than 255 characters.

0 commit comments

Comments
 (0)