Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum committed Oct 23, 2023
1 parent 13090b5 commit a70ce23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 001-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function vip_prevent_invalid_core_query_args() {
* @param array $origins
*/
function vip_only_https_origins( $origins ) {
return array_filter( $origins, function( $origin ) {
return strpos( $origin, 'https://' ) === 0;
});
return array_filter( $origins, function ( $origin ) {
return strpos( $origin, 'https://' ) === 0;
} );
}

0 comments on commit a70ce23

Please sign in to comment.