Add access modifier to `WP_Customize_Nav_Menu_Item_Control::json()`
See #32444. Built from https://develop.svn.wordpress.org/trunk@32873 git-svn-id: http://core.svn.wordpress.org/trunk@32844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24bae70080
commit
a75961da89
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-alpha-32872';
|
$wp_version = '4.3-alpha-32873';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue