#46952 closed defect (bug) (fixed)
$allowed_constants is not defined in class-wp-site-health-auto-updates.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.2 | Priority: | normal |
| Severity: | normal | Version: | 5.2 |
| Component: | Site Health | Keywords: | site-health |
| Focuses: | administration | Cc: |
Description
In the file wp-admin/includes/class-wp-site-health-auto-updates.php line 69 a test is made against the variable $allowed_constants which is guaranteed to be undefined because it is not set within the function nor is it pulled via global. This is the only reference within the entire WordPress source code to a variable with this name, so even if we add global it will still be undefined unless a plugin or theme defines it.
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 45223: