[wp-trac] [WordPress Trac] #61645: Wrong default value for _wp_preview_meta_filter() parameter
WordPress Trac
noreply at wordpress.org
Mon Jul 15 01:57:37 UTC 2024
#61645: Wrong default value for _wp_preview_meta_filter() parameter
---------------------------+-----------------------------
Reporter: rodrigosprimo | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Revisions | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
---------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"58717" 58717]:
{{{
#!CommitTicketReference repository="" revision="58717"
Docs: Correct documentation for `_wp_preview_meta_filter()`.
The `$single` parameter is passed via the `get_post_metadata` filter and
has no default value.
Includes minor code layout fixes for consistency with the formatting of
other long conditionals in core.
Follow-up to [56714].
Props rodrigosprimo.
Fixes #61645.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61645#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list