rtCamp / wordpress-skeleton

A base repository structure for rtCamp's WordPress sites, pre-configured to use Github Actions
https://github.com/rtCamp/github-actions-library/
43 stars 18 forks source link

Fix GH-24: Validates header IP and if request is coming from CloudFlare #25

Open SID177 opened 3 years ago

SID177 commented 3 years ago

Adds code from https://github.com/cloudflare/cf-ip-rewrite/blob/master/src/CloudFlare/IpRewrite.php#L48-L87

Related issue https://github.com/rtCamp/wordpress-skeleton/issues/24