gocodebox / gocodebox/lifterlms

Post model: Stop scrubbing post properties (all of them?) prior to insert/update a WP_Post.

Open
#1,441 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.