[wp-trac] [WordPress Trac] #35761: Add filter(s) to get_adjacent_post function to change variables further down
WordPress Trac
noreply at wordpress.org
Sat Feb 6 15:13:51 UTC 2016
#35761: Add filter(s) to get_adjacent_post function to change variables further
down
---------------------------+-----------------------------
Reporter: briandichiara | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+-----------------------------
Changes (by swissspidy):
* keywords: => needs-patch
* milestone: Awaiting Review => Future Release
Comment:
Hey Brian
The use case sounds reasonable. Two notes on the patch:
1. The filters need appropriate documentation, see for more information
2. Since `$join`, `$where` and `$sort` are used in the query string, these
variables should probably passed to the filter callback as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35761#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list