--- a/wp/wp-includes/customize/class-wp-customize-themes-panel.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/customize/class-wp-customize-themes-panel.php Fri Sep 05 18:52:52 2025 +0200
@@ -44,7 +44,6 @@
echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> {{ data.title }}';
}
?>
-
<?php if ( current_user_can( 'switch_themes' ) ) : ?>
<button type="button" class="button change-theme" aria-label="<?php esc_attr_e( 'Change theme' ); ?>"><?php _ex( 'Change', 'theme' ); ?></button>
<?php endif; ?>