Opened 9 years ago
Closed 9 years ago
#42360 closed defect (bug) (fixed)
Customize: Deep-linking to themes section does not work
| Reported by: | westonruter | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Customize | Version: | 4.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
9 years ago
- Owner changed from to
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 configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Please review: https://github.com/xwp/wordpress-develop/pull/296