+ <div class="customize-control-content">
+ <p class="customizer-section-intro">
+ <?php
+ if ( $width && $height ) {
+ printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header size of <strong>%s × %s</strong> pixels.' ), $width, $height );
+ } elseif ( $width ) {
+ printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header width of <strong>%s</strong> pixels.' ), $width );
+ } else {
+ printf( __( 'While you can crop images to your liking after clicking <strong>Add new</strong>, your theme recommends a header height of <strong>%s</strong> pixels.' ), $height );
+ }
+ ?>
+ </p>
+ <div class="current">
+ <span class="customize-control-title">
+ <?php _e( 'Current header' ); ?>
+ </span>
+ <div class="container">
+ </div>
+ </div>
+ <div class="actions">
+ <?php /* translators: Hide as in hide header image via the Customizer */ ?>
+ <button type="button"<?php echo $visibility ?> class="button remove"><?php _ex( 'Hide image', 'custom header' ); ?></button>
+ <?php /* translators: New as in add new header image via the Customizer */ ?>
+ <button type="button" class="button new"><?php _ex( 'Add new image', 'header image' ); ?></button>
+ <div style="clear:both"></div>
+ </div>
+ <div class="choices">
+ <span class="customize-control-title header-previously-uploaded">
+ <?php _ex( 'Previously uploaded', 'custom headers' ); ?>
+ </span>
+ <div class="uploaded">
+ <div class="list">
+ </div>
+ </div>
+ <span class="customize-control-title header-default">
+ <?php _ex( 'Suggested', 'custom headers' ); ?>
+ </span>
+ <div class="default">
+ <div class="list">
+ </div>
+ </div>
+ </div>
+ </div>
+ <?php
+ }
+}
+
+/**
+ * Widget Area Customize Control Class
+ *
+ */
+class WP_Widget_Area_Customize_Control extends WP_Customize_Control {
+ public $type = 'sidebar_widgets';
+ public $sidebar_id;
+
+ public function to_json() {
+ parent::to_json();
+ $exported_properties = array( 'sidebar_id' );
+ foreach ( $exported_properties as $key ) {
+ $this->json[ $key ] = $this->$key;
+ }
+ }
+
+ public function render_content() {