WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / class-wp-customize-panel.php
index a3f02b2f67b5828685b417206296a31c6493a8ab..d5441f6310a47033a269fc72d58f43f3dd1d1b01 100644 (file)
@@ -27,7 +27,6 @@ class WP_Customize_Panel {
         *
         * @static
         * @access protected
-        * @static
         * @var int
         */
        protected static $instance_count = 0;
@@ -369,10 +368,12 @@ class WP_Customize_Panel {
                        <button class="customize-panel-back" tabindex="-1"><span class="screen-reader-text"><?php _e( 'Back' ); ?></span></button>
                        <div class="accordion-section-title">
                                <span class="preview-notice"><?php
-                                       /* translators: %s is the site/panel title in the Customizer */
+                                       /* translators: %s: the site/panel title in the Customizer */
                                        echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title">{{ data.title }}</strong>' );
                                ?></span>
-                               <button class="customize-help-toggle dashicons dashicons-editor-help" tabindex="0" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>
+                               <# if ( data.description ) { #>
+                                       <button class="customize-help-toggle dashicons dashicons-editor-help" tabindex="0" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>
+                               <# } #>
                        </div>
                        <# if ( data.description ) { #>
                                <div class="description customize-panel-description">