Add missing access modifier to WP_Customize_Sidebar_Section::json()
.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32877 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
713a547aad
commit
e3bf970f2a
@ -529,7 +529,7 @@ class WP_Customize_Nav_Menu_Section extends WP_Customize_Section {
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function json() {
|
||||
public function json() {
|
||||
$exported = parent::json();
|
||||
$exported['menu_id'] = intval( preg_replace( '/^nav_menu\[(\d+)\]/', '$1', $this->id ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user