5f56921131
This new dashboard widget is shown on WordPress sites which are powered by a PHP version which WordPress considers outdated, in order to inform site owners about the resulting problems and to explain how to upgrade to a supported version. An education page for that purpose has been previously created that the widget links to. The link is translatable so that localized versions of the page can be referred to as they become available. The nag follows the example of the Browse Happy dashboard widget and is only visible for administrators, or network administrators when using multisite. To determine whether it needs to be displayed, a new wordpress.org API introduced prior is called that handles the version logic in a centralized location. Props flixos90, hedgefield, schlessera. Fixes #41191. git-svn-id: https://develop.svn.wordpress.org/trunk@42832 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
src | ||
tests | ||
tools/i18n | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.js | ||
jsdoc.conf.json | ||
package.json | ||
phpcs.xml.dist | ||
phpunit.xml.dist | ||
webpack.config.dev.js | ||
webpack.config.prod.js | ||
wp-cli.yml | ||
wp-config-sample.php | ||
wp-tests-config-sample.php |