toolstack / git-to-wp-plugin-dir-release-script

A release script that takes a git repo tag and pushes it to the WordPress Plugin directory SVN.
5 stars 2 forks source link

Use new API version for core/version-check #11

Closed ocean90 closed 7 years ago

ocean90 commented 8 years ago

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.

ocean90 commented 8 years ago

There is also https://api.wordpress.org/core/stable-check/1.0/

toolstack commented 8 years ago

Any particular reason not to use 1.6? Is it being deprecated at some point?

ocean90 commented 7 years ago

I just think that the use of unserialize() should be avoided if possible.

toolstack commented 7 years ago

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.

ocean90 commented 7 years ago

Well, there is https://www.owasp.org/index.php/PHP_Object_Injection ...

toolstack commented 7 years ago

Then w.org should really deprecate it ;)