• Plugin Author Lester Chan

    (@gamerz)


    WP-ServerInfo 3.0.0 is a total rewrite of the plugin with Claude Code to make it more modern and testable. There will be breaking changes. Please do test it https://github.com/lesterchan/wp-serverinfo/archive/refs/heads/master.zip

    WP-ServerInfo 3.0.0 requires WordPress 6.8 and PHP 8.2. A site on an older stack is simply not offered the update, so if WP-ServerInfo has stopped appearing in your updates list, that is why.

    The screen moved from Dashboard to Tools, from /wp-admin/index.php?page=wp-serverinfo to /wp-admin/tools.php?page=wp-serverinfo. The page slug is unchanged. It is a report about your host rather than a Dashboard panel, and Tools is where WordPress keeps that sort of screen. The Server Information dashboard widget stays where it was, and its “View all” button follows the page.

    All thirty global functions are gone. format_filesize(), format_php_size(), get_mysql_version(), get_serverload(), get_gd_version(), display_serverinfo() and the rest are methods on WP_ServerInfo_Format, WP_ServerInfo_MySQL, WP_ServerInfo_PHP and WP_ServerInfo_Cache. They were never a documented API and there are no shims, so a theme or snippet calling one will fatal. The names were generic enough to collide anyway — WP-DownloadManager defines a format_filesize() of its own, and whichever plugin loaded first won.

    Three new filters. wp_serverinfo_memcached_server and wp_serverinfo_redis_server are the only way to point those two panels at a server that is not on localhost; wp_serverinfo_capability hands the screen to somebody other than an administrator. All three are new rather than renamed, so nothing existing breaks.

    The plugin now stores one row, wp_serverinfo_version, recording the version last run so a future upgrade knows what it is upgrading from. There is still no settings screen. Deleting the plugin removes that row and also clears the per-user dashboard state WordPress recorded whenever somebody closed, hid or reordered the widget, which 2.0.0 left in the database forever.

    The page I need help with: [log in to see the link]

You must be logged in to reply to this topic.