[wp-trac] [WordPress Trac] #44040: Potential PHP notice in `wp_ajax_wp_privacy_erase_personal_data()`

WordPress Trac noreply at wordpress.org
Thu May 10 19:23:46 UTC 2018


#44040: Potential PHP notice in `wp_ajax_wp_privacy_erase_personal_data()`
------------------------------------------+---------------------
 Reporter:  desrosj                       |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.9.6
Component:  General                       |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  gdpr has-patch needs-testing  |     Focuses:
------------------------------------------+---------------------
Changes (by allendav):

 * keywords:  needs-patch gdpr => gdpr has-patch needs-testing


Comment:

 To test:
 - WP_DEBUG true
 - Comment out add_filter( 'wp_privacy_personal_data_erasers',
 'wp_register_comment_personal_data_eraser' ); in wp-includes/default-
 filters.php
 - Perform an erasure on an uncompleted request. Ensure it completes and is
 marked as such.
 - Ensure no notices in the logs

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44040#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list