#44040 closed defect (bug) (fixed)
Potential PHP notice in `wp_ajax_wp_privacy_erase_personal_data()`
| Reported by: | desrosj | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9.6 |
| Component: | Privacy | Version: | |
| Severity: | normal | Keywords: | gdpr has-patch commit |
| Cc: | Focuses: |
Description
The $eraser_key variable is passed to the wp_privacy_personal_data_erasure_page filter, but it is only set if there is one or more data erasers defined.
The variable should be initialized earlier to avoid a PHP notice.
Attachments (1)
Change History (8)
This ticket was mentioned in Slack in #gdpr-compliance by desrosj. View the logs.
8 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
To test: