[wp-trac] [WordPress Trac] #38401: PHP warning by WP_REST_Posts_Controller::prepare_items_query(): array_flip() can only flip string and integer values
WordPress Trac
noreply at wordpress.org
Thu Oct 20 11:37:44 UTC 2016
#38401: PHP warning by WP_REST_Posts_Controller::prepare_items_query():
array_flip() can only flip string and integer values
--------------------------+--------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+--------------------
Comment (by flixos90):
Isn't that incorrect usage of the filter there (in the Handbook plugin)? I
thought you should only add names of public query vars using the
`query_vars` filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38401#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list