Closed ataylorme closed 5 years ago
@johnbillion does this properly address your concerns in #25?
Looks good to me, although you might want to double check that storing an integer in a transient always results in an integer being returned both with and without a persistent object cache in place. I'm 99% sure that when a transient is stored in the options table, it'll always be returned as a string.
But yep looks good apart from that.
@johnbillion 378b50d
should solve that.
Any other suggestions/objections? If not I'll merge this and get it in the next release.
lgtm
Closes #25.
Use the WordPress HTTP API instead of
curl
to check the response code of the map URL.Cache the map URL response code in a transient to avoid request on each page load.