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:
Scott Taylor 2015-06-19 22:05:08 +00:00
parent 713a547aad
commit e3bf970f2a

View File

@ -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 ) );