[wp-trac] [WordPress Trac] #40397: PHP 7.1.x problem in WP_Query

WordPress Trac noreply at wordpress.org
Thu Jan 11 03:59:58 UTC 2018


#40397: PHP 7.1.x problem in WP_Query
--------------------------+------------------------------
 Reporter:  dglingren     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  4.7.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dglingren):

 @apearlman - I have not done any more on this issue since my last post. I
 have not found any way to modify the values in the `$query_vars` array
 without generating the PHP Warning.

 In my plugin I do not actually use the `$query_vars` argument so I simply
 eliminated it from my filter.

 If you need that functionality I suggest you work with the people who
 responded above to see what can be done in Core. Good luck with your
 application.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40397#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list