[wp-trac] [WordPress Trac] #16557: Ability to disable redirect_guess_404_permalink()
WordPress Trac
noreply at wordpress.org
Fri Jun 26 18:47:43 UTC 2020
#16557: Ability to disable redirect_guess_404_permalink()
-------------------------------------------------+-------------------------
Reporter: msafi | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Canonical | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch needs-dev-note has-unit- | Focuses:
tests commit |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"48185" 48185]:
{{{
#!CommitTicketReference repository="" revision="48185"
Docs: Standardize on "Returning a value from the filter" vs. "Passing a
value to the filter".
The filter is the callback function added with `add_filter()`, therefore
the hook passes a value to the filter, and the filter returns a value to
change its behaviour.
The documentation is referring to the latter.
Props johnbillion.
See #49572, #16557.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16557#comment:60>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list