WordPress.org

Make WordPress Core

Changeset 32877


Ignore:
Timestamp:
06/19/2015 10:05:08 PM (6 years ago)
Author:
wonderboymusic
Message:

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

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-section.php

    r32822 r32877  
    530530     * @return array
    531531     */
    532     function json() {
     532    public function json() {
    533533        $exported = parent::json();
    534534        $exported['menu_id'] = intval( preg_replace( '/^nav_menu\[(\d+)\]/', '$1', $this->id ) );
Note: See TracChangeset for help on using the changeset viewer.