Opened 7 years ago
Closed 7 years ago
#42360 closed defect (bug) (fixed)
Customize: Deep-linking to themes section does not work
Reported by: | westonruter | Owned by: | westonruter |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Customize | Keywords: | has-patch |
Focuses: | Cc: |
Description
As can be seen in #42354, in order to deep-link to a themes section you have to construct a URL like:
/wp-admin/customize.php?autofocus[panel]=themes&autofocus[section]=wporg_themes
It appears there is flaw in the ThemesSection#onChangeExpanded()
method whereby it is not expanding its parent panel first.
One should be able to access a given section merely via /wp-admin/customize.php?autofocus[section]=wporg_themes
Introduced in #37661.
Attachments (1)
Change History (6)
#4
@
7 years ago
- Owner changed from celloexpressions to westonruter
Looks good. As noted on the PR, on small screens, autofocusing to a section doesn't actually show the section contents. That's not critical, but it's a bit odd as it shows the section as checked within the panel, then you need to tap on it. Otherwise, looks ready to merge.
Please review: https://github.com/xwp/wordpress-develop/pull/296