From fa99a8af6e4b63fb23f19a101ac882b38b5a0106 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 19 Jun 2015 21:54:37 +0000 Subject: [PATCH] Add access modifier to `WP_Customize_Nav_Menu_Item_Control::json()` See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32873 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php index 6e25eb04d6..c7bea17f6a 100644 --- a/src/wp-includes/class-wp-customize-control.php +++ b/src/wp-includes/class-wp-customize-control.php @@ -1637,7 +1637,7 @@ class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control { * * @return array */ - function json() { + public function json() { $exported = parent::json(); $exported['menu_item_id'] = $this->setting->post_id;