Опис
This plugin displays the current WordPress version number along with the following environment in the admin footer:
- Current WordPress version info, if there is an update available it displays the current and latest versions side by side
- PHP version
- Web Server used
- MySQL version
What’s the reason for building this Plugin
I always disliked the fact that WordPress does not display the current version number in the footer whenever there is a new release.
If you are a plugin developer and a user experiences a problem, they could install this plugin and send you a screenshot of their admin footer (or copy the text of course) to inform you about the cornerstones of their setup.
Скріншоти
Встановлення
- Upload the plugin to your plugins directory (possibly
/wp-content/plugins/
), or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
Часті питання
-
common.css hides the admin-footer on viewports smaller than 783px. To show the footer also on small viewports, add the following to a mu-plugin or your theme’s functions.php, etc.
add_action('admin_enqueue_scripts', function () { wp_add_inline_style('common', '@media screen and (max-width: 782px){#wpfooter {display: block;}}'); wp_add_inline_style('admin-menu', '@media only screen and (max-width: 960px){.auto-fold #wpfooter{margin-left: 0px;}}'); });
Відгуки
Учасники та розробники
“Version Info” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
Учасники“Version Info” було перекладено на 5 локалізацій. Дякуємо перекладачам за їх роботу.
Перекладіть “Version Info” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
1.2.1
- remove putenv to staging 🤦
1.2.0
- If WP_ENVIRONMENT_TYPE is defined (either through PHP env var or constant), display this info.