Changeset 30714
- Timestamp:
- 12/02/2014 10:15:33 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-widgets.css
r28148 r30714 8 8 */ 9 9 10 .control-section [id^="accordion-section-sidebar-widgets-"],10 .control-section.control-section-sidebar, 11 11 .customize-control-sidebar_widgets label, 12 12 .customize-control-sidebar_widgets .hide-if-js { 13 13 /* The link in .customize-control-sidebar_widgets .hide-if-js will fail if it ever gets used. */ 14 display: none;14 display: none; 15 15 } 16 16 -
trunk/src/wp-includes/class-wp-customize-panel.php
r30656 r30714 104 104 105 105 /** 106 * @since 4.1.0 107 * @access public 108 * @var string 109 */ 110 public $type; 106 * Type of this panel. 107 * 108 * @since 4.1.0 109 * @access public 110 * @var string 111 */ 112 public $type = 'default'; 111 113 112 114 /** … … 286 288 */ 287 289 protected function render() { 290 $classes = 'accordion-section control-section control-panel control-panel-' . $this->type; 288 291 ?> 289 <li id="accordion-panel-<?php echo esc_attr( $this->id ); ?>" class=" control-section control-panel accordion-section">292 <li id="accordion-panel-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>"> 290 293 <h3 class="accordion-section-title" tabindex="0"> 291 294 <?php echo esc_html( $this->title ); ?> -
trunk/src/wp-includes/class-wp-customize-section.php
r30656 r30714 113 113 114 114 /** 115 * @since 4.1.0 116 * @access public 117 * @var string 118 */ 119 public $type; 115 * Type of this section. 116 * 117 * @since 4.1.0 118 * @access public 119 * @var string 120 */ 121 public $type = 'default'; 120 122 121 123 /** … … 293 295 */ 294 296 protected function render() { 295 $classes = ' control-section accordion-section';297 $classes = 'accordion-section control-section control-section-' . $this->type; 296 298 ?> 297 299 <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>"> … … 325 327 326 328 /** 329 * Type of this section. 330 * 327 331 * @since 4.1.0 328 332 * @access public
Note: See TracChangeset
for help on using the changeset viewer.