#50654 closed enhancement (fixed)
Fix the filter docs in sanitize_post_field()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | 2.3 |
Component: | Posts, Post Types | Keywords: | has-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)
Change History (8)
This ticket was mentioned in PR #7393 on WordPress/wordpress-develop by @mukesh27.
9 months ago
#5
- Keywords has-patch added; needs-patch removed
Trac ticket: https://core.trac.wordpress.org/ticket/50654
Follow-up to https://core.trac.wordpress.org/changeset/59045, Missed the @since
and @param
docblock.
@mukesh27 commented on PR #7393:
9 months ago
#7
Committed in https://core.trac.wordpress.org/changeset/59050
Note: See
TracTickets for help on using
tickets.
Partial patch attached. Needs some more work and needs checking for accuracy.