X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/138998bbd8f7a1ac38b2f1eacbdf7cd522be4b13..ef91a7f4f3c6468973e192335a27ec0e0faca0b5:/wp-includes/class-wp-customize-panel.php diff --git a/wp-includes/class-wp-customize-panel.php b/wp-includes/class-wp-customize-panel.php index a3f02b2f..46e604a9 100644 --- a/wp-includes/class-wp-customize-panel.php +++ b/wp-includes/class-wp-customize-panel.php @@ -27,7 +27,6 @@ class WP_Customize_Panel { * * @static * @access protected - * @static * @var int */ protected static $instance_count = 0; @@ -131,9 +130,9 @@ class WP_Customize_Panel { * @see WP_Customize_Section::active() * * @var callable Callback is called with one argument, the instance of - * {@see WP_Customize_Section}, and returns bool to indicate - * whether the section is active (such as it relates to the URL - * currently being previewed). + * WP_Customize_Section, and returns bool to indicate whether + * the section is active (such as it relates to the URL currently + * being previewed). */ public $active_callback = ''; @@ -180,12 +179,12 @@ class WP_Customize_Panel { $active = call_user_func( $this->active_callback, $this ); /** - * Filter response of WP_Customize_Panel::active(). + * Filters response of WP_Customize_Panel::active(). * * @since 4.1.0 * - * @param bool $active Whether the Customizer panel is active. - * @param WP_Customize_Panel $panel {@see WP_Customize_Panel} instance. + * @param bool $active Whether the Customizer panel is active. + * @param WP_Customize_Panel $panel WP_Customize_Panel instance. */ $active = apply_filters( 'customize_panel_active', $active, $panel ); @@ -193,7 +192,7 @@ class WP_Customize_Panel { } /** - * Default callback used when invoking {@see WP_Customize_Panel::active()}. + * Default callback used when invoking WP_Customize_Panel::active(). * * Subclasses can override this with their specific logic, or they may * provide an 'active_callback' argument to the constructor. @@ -291,7 +290,7 @@ class WP_Customize_Panel { /** * Render the panel container, and then its contents (via `this->render_content()`) in a subclass. * - * Panel containers are now rendered in JS by default, see {@see WP_Customize_Panel::print_template()}. + * Panel containers are now rendered in JS by default, see WP_Customize_Panel::print_template(). * * @since 4.0.0 * @access protected @@ -301,7 +300,7 @@ class WP_Customize_Panel { /** * Render the panel UI in a subclass. * - * Panel contents are now rendered in JS by default, see {@see WP_Customize_Panel::print_template()}. + * Panel contents are now rendered in JS by default, see WP_Customize_Panel::print_template(). * * @since 4.1.0 * @access protected @@ -369,10 +368,12 @@ class WP_Customize_Panel {
{{ data.title }}' ); ?> - + <# if ( data.description ) { #> + + <# } #>
<# if ( data.description ) { #>