Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-includes
/
customize
/
File Content:
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.description ) { #> <span class="description customize-control-description">{{{ data.description }}}</span> <# } #> <# if ( data.attachment && data.attachment.id ) { #> <div class="attachment-media-view"> <# if ( data.attachment.sizes ) { #> <div class="site-icon-preview wp-clearfix"> <div class="favicon-preview"> <img src="<?php echo esc_url( admin_url( 'images/' . ( is_rtl() ? 'browser-rtl.png' : 'browser.png' ) ) ); ?>" class="browser-preview" width="182" alt="" /> <div class="favicon"> <img src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> </div> <span class="browser-title" aria-hidden="true"><# print( '<?php echo esc_js( get_bloginfo( 'name' ) ); ?>' ) #></span> </div> <img class="app-icon-preview" src="{{ data.attachment.sizes.full ? data.attachment.sizes.full.url : data.attachment.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> </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> <# } #> <?php } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
418.php
478 bytes
0644
ChaCha20.php
12934 bytes
0644
Exception.php
1214 bytes
0644
SMTP.php
47285 bytes
0644
admin-bar.css
23876 bytes
0644
autoload.php
2731 bytes
0644
block.json
458 bytes
0644
category-template.php
55563 bytes
0644
class-IXR-introspectionserver.php
5323 bytes
0644
class-json-20260622000412.php
43441 bytes
0644
class-json.php
43441 bytes
0644
class-wp-comment-query.php
45483 bytes
0644
class-wp-customize-color-control.php
3066 bytes
0604
class-wp-customize-filter-setting.php
588 bytes
0604
class-wp-customize-nav-menu-auto-add-control.php
1122 bytes
0604
class-wp-customize-nav-menus-panel.php
3083 bytes
0604
class-wp-customize-site-icon-control.php
3285 bytes
0644
class-wp-customize-themes-panel.php
3238 bytes
0604
class-wp-http-streams.php
16117 bytes
0644
class-wp-network-query-20260705034706.php
19169 bytes
0644
class-wp-network-query.php
19169 bytes
0644
class-wp-network.php
12379 bytes
0644
class-wp-oembed-controller-20260621150705.php
6793 bytes
0644
class-wp-oembed-controller.php
6793 bytes
0644
class-wp-site.php
7428 bytes
0644
class-wp-sitemaps-posts.php
5875 bytes
0644
class-wp-sitemaps.php
6290 bytes
0644
class-wp-theme.php
51601 bytes
0644
common-rtl-20260708003112.css
6510 bytes
0644
common-rtl.css
6510 bytes
0644
data.js
147192 bytes
0644
https-detection-20260623165157.php
6871 bytes
0644
https-detection-20260623211809-20260706100504.php
6871 bytes
0644
https-detection-20260623211809.php
6871 bytes
0644
https-migration-20260621222700-20260622020253-20260704115414.php
4730 bytes
0644
https-migration-20260621222700-20260622020253.php
4730 bytes
0644
https-migration-20260622015741.php
4730 bytes
0644
https-migration-20260622055634.php
4730 bytes
0644
https-migration-20260622194220-20260706200156.php
4730 bytes
0644
https-migration-20260622194220.php
4730 bytes
0644
https-migration-20260622211332.php
4730 bytes
0644
index.php
1531 bytes
0644
load.php
49277 bytes
0644
locale.php
162 bytes
0644
ms-blogs.php
25174 bytes
0644
nav-menu-template.php
23296 bytes
0644
php72compat.php
41709 bytes
0644
php72compat_const-20260705195122.php
4597 bytes
0644
php72compat_const.php
4597 bytes
0644
progressbar.min.js
2514 bytes
0644
revision.php
22027 bytes
0644
shortcode-20260622010901.php
697 bytes
0644
shortcode.min.js
4096 bytes
0644
shortcode.php
697 bytes
0644
utils.js
4665 bytes
0644
wp-content.css
8624 bytes
0644
wp-mediaelement.css
4960 bytes
0644
N4ST4R_ID | Naxtarrr