WPupdatePHP / wp-update-php

Library to be bundled with WordPress plugins to enforce users to upgrade to supported PHP versions.
GNU General Public License v2.0
79 stars 11 forks source link

Optional recommended version notice #9

Closed coenjacobs closed 9 years ago

coenjacobs commented 9 years ago

My first attempt at solving #2.

Accept a second optional parameter as the recommended version for your plugin. This to allow plugin developers to recommend users of the plugin to ask their hosting company to upgrade their hosting package to whatever version of PHP that you would like to require.

coenjacobs commented 9 years ago

@barrykooij @dannyvankooten @chrisvanpatten Since you guys are involved in the #2 discussion, it would be great if you could give some feedback on this.

I haven't looked at being able to dismiss these notices, they are all permanent for now. Kinda feel that both notices should be dismissible should the developer want to. They are also pretty similar in the way they are setup, so probably also need to be dismissible in the same way.