[wp-trac] [WordPress Trac] #47407: Documentation `tests_add_filter` function incorrect
WordPress Trac
noreply at wordpress.org
Fri Nov 29 17:00:14 UTC 2019
#47407: Documentation `tests_add_filter` function incorrect
------------------------------+-----------------------------
Reporter: remcotolsma | Owner: SergeyBiryukov
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.4
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+-----------------------------
Changes (by donmhico):
* keywords: needs-patch => has-patch
Comment:
@remcotolsma - Thanks for the ticket report. What you said make sense,
looking at `tests_add_filter()` code, it does pass `$function_to_add` to
`add_filter()` so the param docs should be identical.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47407#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list