buddypress/tests/phpunit
Mathieu Viet 4ee6eed37b Compat classes to handle Walker_Nav_Menu::walk() changes in WP 5.3
WordPress 5.3 modified the `Walker_Nav_Menu::walk()` signature adding a third parameter to the method that is using the spread operator. johnjamesjacoby quickly fixed the issue in [12497] when PHP >=5.6.

As our current PHP required version is 5.3, we need to provide a temporary compatibility mechanism to make sure our `BP_Walker_Nav_Menu` will not generate errors when the PHP version is lower than 5.6 before raising the PHP required version in our next major release.

props timothybjacobs, boonebgorges, imath

Fixes #8163 (5.0 branch)


git-svn-id: https://buddypress.svn.wordpress.org/branches/5.0@12500 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2019-11-29 06:06:30 +00:00
..
assets Revert [12483] 2019-10-28 19:49:19 +00:00
includes Prepare BuddyPress to welcome the BP REST API 2019-08-28 20:38:00 +00:00
testcases Compat classes to handle Walker_Nav_Menu::walk() changes in WP 5.3 2019-11-29 06:06:30 +00:00
bootstrap.php Tests: new base class for BP_Email tests. 2016-02-06 19:26:09 +00:00
codecoverage.xml Travis-CI: disable xdebug globally and switch travis:codecoverage to use xdebug instead of phpdbg. 2016-08-08 13:36:32 +00:00
multisite.xml Grunt: move phpUnit tests into new, top-level tests folder. 2014-05-04 12:57:55 +00:00