[wp-trac] [WordPress Trac] #41038: Possible ambiguity with parameters for posts_request filter
WordPress Trac
noreply at wordpress.org
Wed Jun 14 04:05:40 UTC 2017
#41038: Possible ambiguity with parameters for posts_request filter
--------------------------+-----------------------------
Reporter: dunar21 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version: 4.8
Severity: trivial | Resolution: invalid
Keywords: | Focuses: administration
--------------------------+-----------------------------
Changes (by dd32):
* milestone: Awaiting Review =>
Comment:
This is caused by a change in PHP 7.1, where passing too few args to a
user defined function now results in a fatal error:
http://php.net/manual/en/migration71.incompatible.php
Although relevanssi asks for two parameters by default, I'm assuming some
other code has unhooked/rehooked it incorrectly:
https://plugins.trac.wordpress.org/browser/relevanssi/trunk/lib/init.php?marks=21#L15
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41038#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list