iQ Block Country source code
By Pascal, on WordPress.org since 2010. 20,000+ active installs.
iQ Block Country is a plugin that allows you to limit access to your website content. You can either allow or disallow visitors from defined countries to (parts of) your content. Below is its source code for every one of its 79 releases, what changed in the latest one, and how often it ships.
What changed in 1.2.29
Released Nov 13, 2026, 4 months after 1.2.28- Changed: Rewrite of how users IP address is retrieved to fix possible vulnerability of websites behind a proxy/cache. Thanks to Daniel Ruf’s and Nguyen Huu
2 files changed since 1.2.28: 2 modified, 0 added, 0 removed.
- iq-block-country.php modified, -1,497 bytes
- readme.txt modified, +172 bytes
Release history
79 releases since December 2013- 1.2.29 Nov 13, 2026 Changed: Rewrite of how users IP address is retrieved to fix possible vulnerability of websites behind a proxy/cache. Thanks to Daniel Ruf’s and Nguyen Huu
- 1.2.28 Jun 17, 2026 Fix: Prevent rare occassion $pagenow can be bypassed in PHP 8.2
- 1.2.27 Jun 17, 2026
- 1.2.26 Mar 13, 2026 Fix: Plugin was no longer compatible with PHP 7
- 1.2.25 Aug 8, 2025 Changed: Fixed some PHP 8.1 compability errors