[wp-trac] [WordPress Trac] #34494: Customizer: wp.customize.section().focus() broken in 4.4 Beta 2
WordPress Trac
noreply at wordpress.org
Thu Oct 29 21:14:02 UTC 2015
#34494: Customizer: wp.customize.section().focus() broken in 4.4 Beta 2
--------------------------+-----------------------------
Reporter: wpweaver | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I am currently working on a new Customizer based version of my theme. I
have implemented a popup menu to navigate to any part of the Customizer
menu hierarchy using a JS script.
This menu uses {{{wp.customize.section().focus() }}} and {{{
wp.customize.panel().focus() }}} extensively. I have been testing on
4.3.1, and these work as expected. After completing this new feature, I
went to 4.4 Beta 2 to test, and the {{{ wp.customize.section().focus() }}}
portion of the popup menu is now completely '''non-functional'''.
It opens the parent panel of the section, and not the section. In 4.3, the
call would option the section panel that included all the Options in the
section. Now, just the section's parent.
This is a somewhat advanced use of these API calls I suspect. These calls
are mentioned in the developer documentation, so I think they should
continue to work in 4.4, but now they don't.
As this might be a bit difficult to test, I've attached the script in
question, although I'm not sure how useful it is standalone. I can
provide the current development version of my theme that clearly
demonstrates the problem if necessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34494>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list