WordPress.org

Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#50654 new enhancement

Fix the filter docs in sanitize_post_field()

Reported by: johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: needs-patch
Focuses: docs Cc:

Description

The sanitize_post_field() function calls nine separate filters on its data depending on various conditions. The documentation for these need improving, and documentation for the missing filters need adding.

Need to be careful about accuracy here because of the very general names of these filters and their dynamic portions.

Attachments (1)

50654.diff (6.0 KB) - added by johnbillion 4 weeks ago.

Download all attachments as: .zip

Change History (2)

@johnbillion
4 weeks ago

#1 @johnbillion
4 weeks ago

Partial patch attached. Needs some more work and needs checking for accuracy.

Note: See TracTickets for help on using tickets.