buddypress/tests
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
..
phpunit Compat classes to handle Walker_Nav_Menu::walk() changes in WP 5.3 2019-11-29 06:06:30 +00:00