/home/altere25/berryglowbeauty.com/wp-includes/customize
NameSizeModeActions
class-wp-customize-background-image-control.php12080644editdlrm
class-wp-customize-background-image-setting.php5080644editdlrm
class-wp-customize-background-position-control.php29510644editdlrm
class-wp-customize-code-editor-control.php23130644editdlrm
class-wp-customize-color-control.php28810644editdlrm
class-wp-customize-cropped-image-control.php14600644editdlrm
class-wp-customize-custom-css-setting.php48900644editdlrm
class-wp-customize-date-time-control.php87330644editdlrm
class-wp-customize-filter-setting.php5880644editdlrm
class-wp-customize-header-image-control.php78980644editdlrm
class-wp-customize-header-image-setting.php16530644editdlrm
class-wp-customize-image-control.php10730644editdlrm
class-wp-customize-media-control.php91040644editdlrm
class-wp-customize-nav-menu-auto-add-control.php11220644editdlrm
class-wp-customize-nav-menu-control.php20680644editdlrm
class-wp-customize-nav-menu-item-control.php65100644editdlrm
class-wp-customize-nav-menu-item-setting.php275160644editdlrm
class-wp-customize-nav-menu-location-control.php22870644editdlrm
class-wp-customize-nav-menu-locations-control.php28760644editdlrm
class-wp-customize-nav-menu-name-control.php11310644editdlrm
class-wp-customize-nav-menu-section.php7200644editdlrm
class-wp-customize-nav-menu-setting.php189320644editdlrm
class-wp-customize-nav-menus-panel.php30830644editdlrm
class-wp-customize-new-menu-control.php13730644editdlrm
class-wp-customize-new-menu-section.php16730644editdlrm
class-wp-customize-partial.php88550644editdlrm
class-wp-customize-selective-refresh.php151520644editdlrm
class-wp-customize-sidebar-section.php10590644editdlrm
class-wp-customize-site-icon-control.php30540644editdlrm
class-wp-customize-theme-control.php45240644editdlrm
class-wp-customize-themes-panel.php32380644editdlrm
class-wp-customize-themes-section.php67580644editdlrm
class-wp-customize-upload-control.php9830644editdlrm
class-wp-widget-area-customize-control.php16570644editdlrm
class-wp-widget-form-customize-control.php26460644editdlrm
error_log3900644editdlrm
Edit: /home/altere25/berryglowbeauty.com/wp-includes/customize/class-wp-customize-media-control.php (9104B)
button_labels = wp_parse_args( $this->button_labels, $this->get_default_button_labels() ); } /** * Enqueue control related scripts/styles. * * @since 3.4.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. */ public function enqueue() { wp_enqueue_media(); } /** * Refresh the parameters passed to the JavaScript via JSON. * * @since 3.4.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = html_entity_decode( $this->label, ENT_QUOTES, get_bloginfo( 'charset' ) ); $this->json['mime_type'] = $this->mime_type; $this->json['button_labels'] = $this->button_labels; $this->json['canUpload'] = current_user_can( 'upload_files' ); $value = $this->value(); if ( is_object( $this->setting ) ) { if ( $this->setting->default ) { // Fake an attachment model - needs all fields used by template. // Note that the default value must be a URL, NOT an attachment ID. $type = in_array( substr( $this->setting->default, -3 ), array( 'jpg', 'png', 'gif', 'bmp' ) ) ? 'image' : 'document'; $default_attachment = array( 'id' => 1, 'url' => $this->setting->default, 'type' => $type, 'icon' => wp_mime_type_icon( $type ), 'title' => wp_basename( $this->setting->default ), ); if ( 'image' === $type ) { $default_attachment['sizes'] = array( 'full' => array( 'url' => $this->setting->default ), ); } $this->json['defaultAttachment'] = $default_attachment; } if ( $value && $this->setting->default && $value === $this->setting->default ) { // Set the default as the attachment. $this->json['attachment'] = $this->json['defaultAttachment']; } elseif ( $value ) { $this->json['attachment'] = wp_prepare_attachment_for_js( $value ); } } } /** * Don't render any content for this control from PHP. * * @since 3.4.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. * * @see WP_Customize_Media_Control::content_template() */ public function render_content() {} /** * Render a JS template for the content of the media control. * * @since 4.1.0 * @since 4.2.0 Moved from WP_Customize_Upload_Control. */ public function content_template() { ?> <# var descriptionId = _.uniqueId( 'customize-media-control-description-' ); var describedByAttr = data.description ? ' aria-describedby="' + descriptionId + '" ' : ''; #> <# if ( data.label ) { #> {{ data.label }} <# } #>
<# if ( data.description ) { #> {{{ data.description }}} <# } #> <# if ( data.attachment && data.attachment.id ) { #>
<# if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.medium ) { #> <# } else if ( 'image' === data.attachment.type && data.attachment.sizes && data.attachment.sizes.full ) { #> <# } else if ( 'audio' === data.attachment.type ) { #> <# if ( data.attachment.image && data.attachment.image.src && data.attachment.image.src !== data.attachment.icon ) { #> <# } else { #> <# } #>

“{{ data.attachment.title }}”

<# if ( data.attachment.album || data.attachment.meta.album ) { #>

{{ data.attachment.album || data.attachment.meta.album }}

<# } #> <# if ( data.attachment.artist || data.attachment.meta.artist ) { #>

{{ data.attachment.artist || data.attachment.meta.artist }}

<# } #> <# } else if ( 'video' === data.attachment.type ) { #>
<# } else { #>

{{ data.attachment.title }}

<# } #>
<# if ( data.canUpload ) { #> <# } #>
<# } else { #>
<# if ( data.canUpload ) { #> <# } #>
<# if ( data.defaultAttachment ) { #> <# } #>
<# } #> mime_type ) ? strtok( ltrim( $this->mime_type, '/' ), '/' ) : 'default'; switch ( $mime_type ) { case 'video': return array( 'select' => __( 'Select video' ), 'change' => __( 'Change video' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No video selected' ), 'frame_title' => __( 'Select video' ), 'frame_button' => __( 'Choose video' ), ); case 'audio': return array( 'select' => __( 'Select audio' ), 'change' => __( 'Change audio' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No audio selected' ), 'frame_title' => __( 'Select audio' ), 'frame_button' => __( 'Choose audio' ), ); case 'image': return array( 'select' => __( 'Select image' ), 'site_icon' => __( 'Select site icon' ), 'change' => __( 'Change image' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No image selected' ), 'frame_title' => __( 'Select image' ), 'frame_button' => __( 'Choose image' ), ); default: return array( 'select' => __( 'Select file' ), 'change' => __( 'Change file' ), 'default' => __( 'Default' ), 'remove' => __( 'Remove' ), 'placeholder' => __( 'No file selected' ), 'frame_title' => __( 'Select file' ), 'frame_button' => __( 'Choose file' ), ); } // End switch(). } }