GRAYBYTE WORDPRESS FILE MANAGER1352

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/chahida.co.in/wp-includes/customize/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/chahida.co.in/wp-includes/customize//class-wp-customize-site-icon-control.php
<?php
/**
 * Customize API: WP_Customize_Site_Icon_Control class
 *
 * @package WordPress
 * @subpackage Customize
 * @since 4.4.0
 */

/**
 * Customize Site Icon control class.
 *
 * Used only for custom functionality in JavaScript.
 *
 * @since 4.3.0
 *
 * @see WP_Customize_Cropped_Image_Control
 */
class WP_Customize_Site_Icon_Control extends WP_Customize_Cropped_Image_Control {

	/**
	 * Control type.
	 *
	 * @since 4.3.0
	 * @var string
	 */
	public $type = 'site_icon';

	/**
	 * Constructor.
	 *
	 * @since 4.3.0
	 *
	 * @see WP_Customize_Control::__construct()
	 *
	 * @param WP_Customize_Manager $manager Customizer bootstrap instance.
	 * @param string               $id      Control ID.
	 * @param array                $args    Optional. Arguments to override class property defaults.
	 *                                      See WP_Customize_Control::__construct() for information
	 *                                      on accepted arguments. Default empty array.
	 */
	public function __construct( $manager, $id, $args = array() ) {
		parent::__construct( $manager, $id, $args );
		add_action( 'customize_controls_print_styles', 'wp_site_icon', 99 );
	}

	/**
	 * Renders a JS template for the content of the site icon control.
	 *
	 * @since 4.5.0
	 */
	public function content_template() {
		?>
		<# if ( data.label ) { #>
			<span class="customize-control-title">{{ data.label }}</span>
		<# } #>

		<# if ( data.attachment && data.attachment.id ) { #>
			<div class="attachment-media-view">
				<# if ( data.attachment.sizes ) { #>
					<style>
						:root{
							--site-icon-url: url( '{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}' );
						}
					</style>
					<div class="site-icon-preview customizer">
						<div class="direction-wrap">
							<img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" class="app-icon-preview" alt="{{
								data.attachment.alt ?
									wp.i18n.sprintf(
										<?php
										/* translators: %s: The selected image alt text. */
										echo wp_json_encode( __( 'App icon preview: Current image: %s' ) )
										?>
										,
										data.attachment.alt
									) :
									wp.i18n.sprintf(
										<?php
										/* translators: %s: The selected image filename. */
										echo wp_json_encode( __( 'App icon preview: The current image has no alternative text. The file name is: %s' ) );
										?>
										,
										data.attachment.filename
									)
							}}" />
							<div class="site-icon-preview-browser">
								<svg role="img" aria-hidden="true" fill="none" xmlns="http://www.w3.org/2000/svg" class="browser-buttons"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 20a6 6 0 1 1 12 0 6 6 0 0 1-12 0Zm18 0a6 6 0 1 1 12 0 6 6 0 0 1-12 0Zm24-6a6 6 0 1 0 0 12 6 6 0 0 0 0-12Z" /></svg>
								<div class="site-icon-preview-tab">
									<img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" class="browser-icon-preview" alt="{{
										data.attachment.alt ?
											wp.i18n.sprintf(
												<?php
												/* translators: %s: The selected image alt text. */
												echo wp_json_encode( __( 'Browser icon preview: Current image: %s' ) );
												?>
												,
												data.attachment.alt
											) :
											wp.i18n.sprintf(
												<?php
												/* translators: %s: The selected image filename. */
												echo wp_json_encode( __( 'Browser icon preview: The current image has no alternative text. The file name is: %s' ) );
												?>
												,
												data.attachment.filename
											)
									}}" />
									<div class="site-icon-preview-site-title" aria-hidden="true"><# print( '<?php echo esc_js( get_bloginfo( 'name' ) ); ?>' ) #></div>
										<svg role="img" aria-hidden="true" fill="none" xmlns="http://www.w3.org/2000/svg" class="close-button">
											<path d="M12 13.0607L15.7123 16.773L16.773 15.7123L13.0607 12L16.773 8.28772L15.7123 7.22706L12 10.9394L8.28771 7.22705L7.22705 8.28771L10.9394 12L7.22706 15.7123L8.28772 16.773L12 13.0607Z" />
										</svg>
									</div>
								</div>
							</div>
						</div>
					</div>
				<# } #>
				<div class="actions">
					<# if ( data.canUpload ) { #>
						<button type="button" class="button remove-button"><?php echo $this->button_labels['remove']; ?></button>
						<button type="button" class="button upload-button"><?php echo $this->button_labels['change']; ?></button>
					<# } #>
				</div>
			</div>
		<# } else { #>
			<div class="attachment-media-view">
				<# if ( data.canUpload ) { #>
					<button type="button" class="upload-button button-add-media"><?php echo $this->button_labels['site_icon']; ?></button>
				<# } #>
				<div class="actions">
					<# if ( data.defaultAttachment ) { #>
						<button type="button" class="button default-button"><?php echo $this->button_labels['default']; ?></button>
					<# } #>
				</div>
			</div>
		<# } #>
		<# if ( data.description ) { #>
			<span class="description customize-control-description">{{{ data.description }}}</span>
		<# } #>
		<?php
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:19
giriqfky / giriqfky
0644
class-wp-customize-background-image-control.php
1.254 KB
May 18 2022 19:24:14
giriqfky / giriqfky
0644
class-wp-customize-background-image-setting.php
0.624 KB
May 18 2022 19:24:14
giriqfky / giriqfky
0644
class-wp-customize-background-position-control.php
2.961 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-customize-code-editor-control.php
2.263 KB
June 17 2020 01:07:14
giriqfky / giriqfky
0644
class-wp-customize-color-control.php
2.994 KB
February 26 2020 18:30:08
giriqfky / giriqfky
0644
class-wp-customize-cropped-image-control.php
1.425 KB
September 08 2023 13:32:24
giriqfky / giriqfky
0644
class-wp-customize-custom-css-setting.php
5.164 KB
September 09 2021 19:18:56
giriqfky / giriqfky
0644
class-wp-customize-date-time-control.php
9.225 KB
March 06 2025 04:27:22
giriqfky / giriqfky
0644
class-wp-customize-filter-setting.php
0.574 KB
July 27 2017 04:41:44
giriqfky / giriqfky
0644
class-wp-customize-header-image-control.php
7.842 KB
February 08 2025 16:44:24
giriqfky / giriqfky
0644
class-wp-customize-header-image-setting.php
1.74 KB
July 11 2023 03:00:22
giriqfky / giriqfky
0644
class-wp-customize-image-control.php
1.183 KB
November 22 2020 20:53:04
giriqfky / giriqfky
0644
class-wp-customize-media-control.php
9.194 KB
March 05 2024 05:12:12
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-auto-add-control.php
1.096 KB
October 05 2017 06:22:50
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-control.php
2.078 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-item-control.php
7.966 KB
June 04 2024 00:35:14
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-item-setting.php
26.921 KB
September 08 2023 14:03:22
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-location-control.php
2.245 KB
January 28 2024 12:50:18
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-locations-control.php
2.751 KB
February 23 2023 16:06:20
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-name-control.php
1.104 KB
October 05 2017 06:22:50
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-section.php
0.699 KB
October 09 2020 01:15:14
giriqfky / giriqfky
0644
class-wp-customize-nav-menu-setting.php
18.492 KB
January 19 2022 01:29:06
giriqfky / giriqfky
0644
class-wp-customize-nav-menus-panel.php
3.231 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-customize-new-menu-control.php
1.67 KB
February 26 2020 18:30:08
giriqfky / giriqfky
0644
class-wp-customize-new-menu-section.php
1.653 KB
February 26 2020 20:33:06
giriqfky / giriqfky
0644
class-wp-customize-partial.php
10.32 KB
September 12 2022 19:47:14
giriqfky / giriqfky
0644
class-wp-customize-selective-refresh.php
13.432 KB
September 26 2023 01:05:22
giriqfky / giriqfky
0644
class-wp-customize-sidebar-section.php
1.034 KB
December 01 2017 04:11:00
giriqfky / giriqfky
0644
class-wp-customize-site-icon-control.php
5.052 KB
August 24 2024 02:47:16
giriqfky / giriqfky
0644
class-wp-customize-theme-control.php
11.61 KB
September 14 2023 05:25:16
giriqfky / giriqfky
0644
class-wp-customize-themes-panel.php
3.306 KB
October 13 2024 23:09:12
giriqfky / giriqfky
0644
class-wp-customize-themes-section.php
6.792 KB
March 18 2025 17:15:22
giriqfky / giriqfky
0644
class-wp-customize-upload-control.php
1.169 KB
November 22 2020 20:51:04
giriqfky / giriqfky
0644
class-wp-sidebar-block-editor-control.php
0.67 KB
May 25 2021 12:52:58
giriqfky / giriqfky
0644
class-wp-widget-area-customize-control.php
1.679 KB
February 07 2023 22:10:22
giriqfky / giriqfky
0644
class-wp-widget-form-customize-control.php
2.584 KB
April 13 2019 08:46:52
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF