Is there any reason only 1 (my) IP would be added to this table using $wpdn->insert?

Are you using the same internet connection on multiple devices? Perhaps your mobile is connected to the same wifi network. Visit http://icanhazip.com in your mobile to see its IP. As for browserstack perhaps they aren’t accepting the cookie so their IP doesn’t get recorded. You should record the timestamp as well so you can correlate it with visits during testing.

Also you should be doing the table creation during plugin activation and not checking for that needlessly with every script execution. Here’s the hook you can use for that.

Leave a Comment