[wp-trac] [WordPress Trac] #50654: Fix the filter docs in sanitize_post_field()
WordPress Trac
noreply at wordpress.org
Wed Sep 18 00:00:24 UTC 2024
#50654: Fix the filter docs in sanitize_post_field()
-------------------------------+---------------------------
Reporter: johnbillion | Owner: DrewAPicture
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: Posts, Post Types | Version: 2.3
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses: docs
-------------------------------+---------------------------
Changes (by DrewAPicture):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"59045" 59045]:
{{{
#!CommitTicketReference repository="" revision="59045"
Docs: Add possible filter names to the hook docs for the following filters
in `sanitize_post_field()`:
- `edit_{$field}`
- `{$field_no_prefix}_edit_pre`
- `edit_post_{$field}`
- `pre_{$field}`
- `{$field_no_prefix}_save_pre`
- `pre_post_{$field}`
- `{$field}_pre`
- `{$field}`
- `post_{$field}`
Props johnbillion, DrewAPicture.
Fixes #50654
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50654#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list