From 62717837b5b9e14744a27e5e8e3c74596871596e Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Sat, 27 Aug 2016 11:28:30 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@38400 git-svn-id: http://core.svn.wordpress.org/trunk@38341 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index a42e9146a3..e0d584f600 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38399'; +$wp_version = '4.7-alpha-38400'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.