[wp-trac] [WordPress Trac] #35540: Remove help button if there is no description content in panel
WordPress Trac
noreply at wordpress.org
Wed Jan 20 04:16:50 UTC 2016
#35540: Remove help button if there is no description content in panel
--------------------------+-----------------------------
Reporter: rabmalin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.4
Severity: normal | Keywords:
Focuses: ui |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35540>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list