Seravo / seravo-plugin

Enhances WordPress with Seravo specific features and integrations
https://seravo.com/
GNU General Public License v2.0
37 stars 16 forks source link

Parse PHP versions from local file #665

Closed JoosuaKoskinen closed 1 year ago

JoosuaKoskinen commented 1 year ago

Parse available, recommended and EOL versions from /etc/php/versions.

The code is mostly same as in https://github.com/Seravo/seravo-plugin/pull/653 so the review from there should so OK here too. The EOL notification should be reviewed again.

Wiljami commented 1 year ago

Tested this on a fresh site. Wp-admin panel would end up just displaying only:

"7.3"

on the screen (it being the only source code as well) with this seravo-plugin change.

JoosuaKoskinen commented 1 year ago

Tested this on a fresh site. Wp-admin panel would end up just displaying only:

"7.3"

on the screen (it being the only source code as well) with this seravo-plugin change.

Forgot some debug code, fixed now.

JoosuaKoskinen commented 1 year ago

@Wiljami can you approve again. Nothing in code has changed, just rebased.