Add missing access modifier to WP_Customize_Sidebar_Section::json().

See #32444.

Built from https://develop.svn.wordpress.org/trunk@32877


git-svn-id: http://core.svn.wordpress.org/trunk@32848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-06-19 22:06:27 +00:00
parent 55b2385cf5
commit eb4cd4880b
2 changed files with 2 additions and 2 deletions

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

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32876';
$wp_version = '4.3-alpha-32877';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.