Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Oct 24, 2023
1 parent 9ce7779 commit e477bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 001-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,6 @@ function vip_prevent_invalid_core_query_args() {
*/
function vip_only_https_origins( $origins ) {
return array_filter( $origins, function ( $origin ) {
return str_starts_with( $origin, 'https://' ) === 0;
return str_starts_with( $origin, 'https://' );
} );
}

0 comments on commit e477bfc

Please sign in to comment.