[wp-trac] [WordPress Trac] #60491: Fix handling of plugins with unmet requirements
WordPress Trac
noreply at wordpress.org
Sat Feb 10 01:36:00 UTC 2024
#60491: Fix handling of plugins with unmet requirements
--------------------------+-----------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 5.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by costdev):
> The error message at the top of the screen is missing initially and
appears after the second reload.
Just a note on this one:
The error message missing initially is because the plugin header was
modified rather than the server's PHP version. On the initial load, the
`plugin_data` option storing the `RequiresPHP` header will not be "fresh"
(to avoid loading from the filesystem on every page load).
If the server's PHP version were to change, and the server restarted if
necessary to load the different PHP version, then the notice would appear
on the first load.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60491#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list