-
Committer:
imath
-
Date:
2019-11-29 03:46:56 UTC
-
Revision ID:
svn-v4:cdf35c40-ae34-48e0-9cc9-0c9da1808c22:trunk:12498
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
See #8163 (Trunk)