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
This commit is contained in:
parent
47068b95f7
commit
fa99a8af6e
|
@ -1637,7 +1637,7 @@ class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control {
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function json() {
|
public function json() {
|
||||||
$exported = parent::json();
|
$exported = parent::json();
|
||||||
$exported['menu_item_id'] = $this->setting->post_id;
|
$exported['menu_item_id'] = $this->setting->post_id;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue