This repository has been archived by the owner on Mar 9, 2024. It is now read-only.
CP Version and PHP Version Warnings #108
Labels
status: needs triage
This issue needs revision, splitting, or other gardening work
type: bug
Something isn't working
Expected behavior
The expected behavior is when a theme or plugin when a specific version is set for example
Requires PHP: 8.0
, it should throw an error or warning stating that the theme does not work with your version of PHP orRequires CP: 1.4.0
Current behavior
The current behavior just doesn't give any errors or warnings if a theme or plugin has set these requirements. Please note that the issue occurs in 1.5.3 so I don't know if Version 2 have the same issue or not since I haven't tried CP 2.0.
Possible solution
create a function or modify the code to use
version_compare()
Steps to reproduce bug
Requires PHP
orRequires CP
for something higher or lower depending on the Header.Context
No response
ClassicPress version
1.5.3
PHP version
7.3
Can you help?
I can help test a solution
The text was updated successfully, but these errors were encountered: