From a415c29efee45520ae252d2aa28f1083a521cd7b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 09:56:49 +0200 Subject: Adding upstream version 6.4.3+dfsg1. Signed-off-by: Daniel Baumann --- .../class-wp-customize-site-icon-control.php | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 wp-includes/customize/class-wp-customize-site-icon-control.php (limited to 'wp-includes/customize/class-wp-customize-site-icon-control.php') diff --git a/wp-includes/customize/class-wp-customize-site-icon-control.php b/wp-includes/customize/class-wp-customize-site-icon-control.php new file mode 100644 index 0000000..942000a --- /dev/null +++ b/wp-includes/customize/class-wp-customize-site-icon-control.php @@ -0,0 +1,97 @@ + + <# if ( data.label ) { #> + {{ data.label }} + <# } #> + <# if ( data.description ) { #> + {{{ data.description }}} + <# } #> + + <# if ( data.attachment && data.attachment.id ) { #> +
+ <# if ( data.attachment.sizes ) { #> +
+
+ + +
+ <?php esc_attr_e( 'Preview as a browser icon' ); ?> +
+ +
+ <?php esc_attr_e( 'Preview as an app icon' ); ?> +
+ <# } #> +
+ <# if ( data.canUpload ) { #> + + + <# } #> +
+
+ <# } else { #> +
+ <# if ( data.canUpload ) { #> + + <# } #> +
+ <# if ( data.defaultAttachment ) { #> + + <# } #> +
+
+ <# } #> +