Make WordPress Core

Opened 19 months ago

Last modified 19 months 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:


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 19 months ago.

Download all attachments as: .zip

Change History (2)

19 months ago

#1 @johnbillion
19 months ago

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

Note: See TracTickets for help on using tickets.