Closed ocean90 closed 7 years ago
There is also https://api.wordpress.org/core/stable-check/1.0/
Any particular reason not to use 1.6? Is it being deprecated at some point?
I just think that the use of unserialize()
should be avoided if possible.
I don't see a big difference between an unserialize()
call and a json_decode()
call, I'll close this for now and it can be revisited if 1.6 becomes deprecated at some point.
Well, there is https://www.owasp.org/index.php/PHP_Object_Injection ...
Then w.org should really deprecate it ;)
Instead of https://api.wordpress.org/core/version-check/1.6/ you can use https://api.wordpress.org/core/version-check/1.7/ which provides JSON.