]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/class-wp-customize-section.php
Wordpress 3.6
[autoinstalls/wordpress.git] / wp-includes / class-wp-customize-section.php
index b1b7d5f866063dec4d6ba759337e6f69402483af..63051be61969b492ba71385b5d1217847afa1c5f 100644 (file)
@@ -1,12 +1,11 @@
 <?php
 /**
- * Customize Section Class
+ * Customize Section Class.
  *
  * @package WordPress
  * @subpackage Customize
  * @since 3.4.0
  */
-
 class WP_Customize_Section {
        public $manager;
        public $id;
@@ -22,6 +21,7 @@ class WP_Customize_Section {
         *
         * @since 3.4.0
         *
+        * @param WP_Customize_Manager $manager
         * @param string $id An specific ID of the section.
         * @param array $args Section arguments.
         */
@@ -72,7 +72,6 @@ class WP_Customize_Section {
                $this->render();
        }
 
-
        /**
         * Render the section.
         *
@@ -80,9 +79,9 @@ class WP_Customize_Section {
         */
        protected function render() {
                ?>
-               <li id="customize-section-<?php echo esc_attr( $this->id ); ?>" class="control-section customize-section">
-                       <h3 class="customize-section-title" title="<?php echo esc_attr( $this->description ); ?>"><?php echo esc_html( $this->title ); ?></h3>
-                       <ul class="customize-section-content">
+               <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="control-section accordion-section">
+                       <h3 class="accordion-section-title" tabindex="0" title="<?php echo esc_attr( $this->description ); ?>"><?php echo esc_html( $this->title ); ?></h3>
+                       <ul class="accordion-section-content">
                                <?php
                                foreach ( $this->controls as $control )
                                        $control->maybe_render();