Changes between Initial Version and Version 1 of Ticket #39380
- Timestamp:
- 12/24/2016 03:51:33 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39380
-
Property
Milestone
changed from
Awaiting Review
to4.7.1
-
Property
Summary
changed from
wp_update_comment strips data from passed array
towp_update_comment can cause database error with new filter
-
Property
Milestone
changed from
-
Ticket #39380 – Description
initial v1 3 3 However, wp_array_slice_assoc is called to filter keys out of the array before it is passed to both. 4 4 5 It should be called only to filter the data going into the database. By adding a key to the array at the filter, for example,you can cause a database error.5 It should be called after and only to filter the data going into the database. By adding a key to the array at the filter you can cause a database error. 6 6 7 By removing extra keys from the data before it hits edit_comment, it makes it impossible to pass data to be saved as metadata.7 By removing extra keys from the data before it hits edit_comment, it also makes it impossible to pass data to be saved as metadata.