=== Admin Bar Server Info === Contributors: raulfg Tags: admin-bar, server-info, system-info, php-version Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Lightweight plugin that displays essential server and environment information directly in the WordPress admin bar for administrators. == Description == **Admin Bar Server Info** displays essential server and environment information directly in the WordPress admin bar. The plugin is intentionally minimal and focused. It does not add settings pages, dashboard widgets, frontend output, or database storage. It simply shows key environment information at a glance for users with administrative permissions. Displayed information includes: **PHP Information:** - PHP version (full version with architecture bits) - PHP SAPI (Server API: mod_php, fpm, cgi, etc.) - Operating system (Linux, Windows, Darwin, etc.) - Max execution time - Max upload size **Memory Information:** - Current memory usage and limit (with percentage) - WordPress memory limit (WP_MEMORY_LIMIT) **Server Information:** - Server software (Apache, Nginx, LiteSpeed, IIS, Caddy, etc.) - Database version (MySQL or MariaDB with version) - Server IP address (with hostname) **WordPress Information:** - WordPress version The information is visible only to users with the `manage_options` capability. **Key characteristics:** - Admin bar only - all information visible at a glance - No configuration required - works immediately after activation - No frontend output - admin area only - No database tables or stored options - No external requests - all data gathered locally - Minimal CSS - only for admin bar styling (follows WordPress best practices) - No JavaScript dependencies - No tracking or data collection - Developer-friendly format - compact and logically organized == Installation == 1. Upload the `admin-bar-server-info` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the “Plugins” menu in WordPress. 3. The server information will appear automatically in the admin bar for administrators. == Frequently Asked Questions == = Who can see the server information? = Only users with the `manage_options` capability can see the information. = Does this plugin store any data? = No. The plugin does not store any data or create database tables. = Does this plugin make external requests? = No. The plugin does not perform any external HTTP requests or API calls. = Does this plugin affect performance? = No noticeable impact. The plugin adds a single admin bar item and performs minimal checks. = Does this plugin work with multisite? = Yes. The plugin works in both single-site and multisite installations. Visibility depends on user capabilities. == Screenshots == 1. Server and environment information displayed in the WordPress admin bar. == Changelog == = 1.0.3 = * Added server IP address display - shows the server's IP address (supports SERVER_ADDR and LOCAL_ADDR for IIS compatibility) * Added memory usage display - shows current memory usage, memory limit, and usage percentage * Improved server information completeness for better debugging and monitoring = 1.0.2 = * Improved MariaDB detection - now correctly distinguishes between MySQL and MariaDB * Uses SQL VERSION() query for more accurate database type detection * Fixed issue where MariaDB was incorrectly displayed as MySQL = 1.0.1 = * Added Spanish translation (readme-es_ES.txt) * Added English translation files (en_US) * Improved translation support for plugin description * Updated translation files with plugin name and description = 1.0.0 = * Initial release * Display PHP version in admin bar * Display database version (MySQL/MariaDB) * Detect and display server software * Display WordPress version * Admin-only visibility * No configuration required == Upgrade Notice == = 1.1.0 = Major update with comprehensive server information. Now displays PHP details (version, SAPI, OS, execution time, upload size), memory information (usage and WordPress limit), server details (software, database, IP), and WordPress version. Information is logically grouped and formatted for developers. CSS moved to separate file following WordPress best practices. Improved admin bar styling with custom colors. = 1.0.2 = Fixed MariaDB detection - now correctly displays "MariaDB" instead of "MySQL" when using MariaDB database. = 1.0.1 = Added Spanish translation support and improved translation files. No breaking changes. = 1.0.0 = Initial release.