Sections added via $wp_customize->add_section() disappear
-
I developed a custom theme using WordPress 3.9. I relied heavily on the WP_Customize_Manager API to add new sections, settings and controls, all triggered by the customize_register action. Recently my site was automatically upgraded to 4.1.2. Now when I go to the Appearance > Customize page, I see the sections I added with
$wp_customize->add_section()
for a moment, but then they disappear from the left nav.Something has clearly changed between 3.9 and 4.1.2, but I don’t know what and I don’t know how to fix it. Please advise on where I should start looking. The Appearance > Customize page is the only method my users have to set important options for the theme, and now they can’t access the settings they need.
Thanks in advance.
- The topic ‘Sections added via $wp_customize->add_section() disappear’ is closed to new replies.