[wp-trac] [WordPress Trac] #37295: PHP 7.1.0: Tests_Query_IsTerm::test_cat_uncat_action_tax() is failing

WordPress Trac noreply at wordpress.org
Wed Jul 6 09:58:06 UTC 2016


#37295: PHP 7.1.0: Tests_Query_IsTerm::test_cat_uncat_action_tax() is failing
------------------------------+-----------------------------
 Reporter:  ocean90           |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-testing
  Focuses:                    |
------------------------------+-----------------------------
 Tested with PHP 7.1.0alpha3 (cli) (built: Jul  6 2016 11:50:33).

 See https://travis-
 ci.org/aaronjorbin/develop.wordpress/jobs/142322444#L387-L396 and
 {{{
 1) Tests_Query_IsTerm::test_cat_uncat_action_tax
 Parameter 1 to Tests_Query_IsTerm::_cat_uncat_action_tax() expected to be
 a reference, value given

 /src/wp-includes/plugin.php:600
 /src/wp-includes/query.php:2503
 /src/wp-includes/query.php:4050
 /src/wp-includes/class-wp.php:609
 /src/wp-includes/class-wp.php:727
 /tests/phpunit/includes/testcase.php:462
 /tests/phpunit/tests/query/isTerm.php:123
 }}}

 I haven't found something in the changelog (https://github.com/php/php-
 src/blob/PHP-7.1.0/NEWS) which could cause this behaviour. I only know
 that removing the filter for `pre_get_posts` makes the test passing.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37295>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list