Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amirhp-com/ip2location-country-blocker-v-2.19.1-quick-fix

WordPress Plugin ip2location-country-blocker v 2.19.1 quick fix by Amirhosseinhpv
https://github.com/amirhp-com/ip2location-country-blocker-v-2.19.1-quick-fix

Last synced: about 2 months ago
JSON representation

WordPress Plugin ip2location-country-blocker v 2.19.1 quick fix by Amirhosseinhpv

Awesome Lists containing this project

README

        

# WordPress Plugin : ip2location-country-blocker-v-2.19.1-quick-fix
**WordPress Plugin ip2location-country-blocker v 2.19.1 quick fix by Amirhosseinhpv**

Hello everyone, i just updated to 2.19.1 and noticed it prints out index.php in every single post and i cannot see any archive pages. so i checked the source and found the problem. in the main plugin file (ip2location-country-blocker.php) go to line 1823 and comment this line :

`echo $GLOBALS['pagenow'];`

by adding // at the beginning of line ~>

`//echo $GLOBALS['pagenow'];`

see the image 👇🏻

It'll fix the issue.

Amirhosseinhpv,

Thanks for reading.