Opened 7 years ago
Closed 7 years ago
#35540 closed defect (bug) (fixed)
Remove help button if there is no description content in panel
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Customize | Keywords: | good-first-bug has-patch |
Focuses: | ui, javascript | Cc: |
Description
If there is no description
parameter in add_panel
call, in Customizer there is help button. Clicking on that does nothing. May be that button should be hidden if there is nothing to show about the panel.
Steps to reproduce:
- Add panel like
$wp_customize->add_panel( 'sample_panel', array( 'title' => __( 'Sample Panel', 'text-domain' ), 'priority' => 100, ) );
- Add section and settings under the panel.
- Go to
Customize
. - When we are under the
Sample Panel
, help button is displayed it does not show anything.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Update on the customize panel template