Wordpress/tests
Peter Wilson b8f88aa597 Unit tests: Enforce $args object in `wp_nav_menu()` & `Walker_Nav_Menu`.
WordPress always* passes $args to filters as an array of arugments. A exception is made in `wp_nav_menu()` and the associated walker where these are passed to filters as an object, this has been the case for seven years (since [13368]).

These new tests enforce the use of an object in these filters to ensure backward compatibility is maintained.

See #24587.


git-svn-id: https://develop.svn.wordpress.org/trunk@38400 602fd350-edb4-49c9-b593-d223f7449a82
2016-08-27 11:27:17 +00:00
..
phpunit Unit tests: Enforce $args object in `wp_nav_menu()` & `Walker_Nav_Menu`. 2016-08-27 11:27:17 +00:00
qunit Updates: Improve experience for Bulk Actions when FTP is dismissed. 2016-08-09 01:13:08 +00:00