Opened 5 years ago
Closed 4 years ago
#35687 closed defect (bug) (maybelater)
Customizer active_callback
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4.1 |
Component: | Customize | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
So when I made a Theme for WordPress 4.4.0 I made a custom section within the WordPress customizer. Inside the customizer I had a section called 'Feature Products' which could only been seen when the user was on the 'front-page' using the customizer. To achieve this I used the 'active_callback' => 'is_front_page'
when adding a new section.
Now here is where the problem lies - when using WordPress Version 4.4.0 it worked perfectly but then WordPress released WordPress Version 4.4.1 and then it just broke. For some unknown reason the 'active_callback' => 'is_front_page'
was just hiding the 'Feature Products' inside the customizer. Now when I remove the 'active_callback' code it works fine but shows on every page (obviously) which is wanted.
I don't know whether this is a bug or something else but it was working previous to WordPress 4.4.1
Hello @coderste, welcome to Trac!
Thanks for your report. Can you reproduce the issue with the latest nightly version too?