gocodebox / gocodebox/lifterlms
Post model: Stop scrubbing post properties (all of them?) prior to insert/update a WP_Post.
Open
Severity: Normal
Status: Needs Tests
- Dominant language
- PHP
- Stars
- 212
- Forks
- 140
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 19
Description
Originally discussed here:
https://github.com/gocodebox/lifterlms/pull/1408#issuecomment-720696709
Basically `wp_insert_post()` should already sanitize the post data, see:
https://developer.wordpress.org/reference/functions/wp_insert_post/#security
Contributor guide
Assessment
This issue has not been assessed yet.