Skip to content

Report installed plugin version in System Info#39

Open
jgalea wants to merge 1 commit into
developfrom
fix/sysinfo-report-installed-version
Open

Report installed plugin version in System Info#39
jgalea wants to merge 1 commit into
developfrom
fix/sysinfo-report-installed-version

Conversation

@jgalea

@jgalea jgalea commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes System Info reporting the engine's internal version instead of the installed plugin version. Fixes #38.

In classic mode (a v4-origin site running inside a newer package), includes/system-info.php printed WPRSS_VERSION as the Plugin Version. That constant is the v4 engine's internal version (e.g. 4.23.13) and is used across the engine for update checks and asset versioning, so it can't be bumped to match the package. The result was System Info showing an old number while the Plugins screen and Site Health correctly showed the installed version, which reads like a failed update and generates support tickets.

The change reads the real installed version from the main plugin file header (WPRSS_FILE_CONSTANT) via get_file_data() and prints that as Plugin Version. When the engine's internal version differs, it is shown on a separate Engine Version line so the engine in use is still visible for debugging. In a standalone v4 install the package and engine versions are identical, so the output is unchanged there.

Display-only change; no engine constants or update logic are touched.

When the v4 engine runs inside a newer package (v5 in classic mode), the System Info tool printed WPRSS_VERSION (the engine's internal version, e.g. 4.23.13) as the Plugin Version, even though the installed package is newer. That reads like a failed update and generates support tickets. Show the real installed version from the main plugin file header instead, and keep the engine version on a separate line when it differs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System Info reports engine version instead of installed plugin version

1 participant