diff --git a/src/wp-admin/widgets.php b/src/wp-admin/widgets.php
index e1ae09132f..4a34b58c8b 100644
--- a/src/wp-admin/widgets.php
+++ b/src/wp-admin/widgets.php
@@ -344,24 +344,27 @@ $errors = array(
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-
+
+
%2$s',
- esc_url( add_query_arg(
- array(
- array( 'autofocus' => array( 'panel' => 'widgets' ) ),
- 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) )
- ),
- admin_url( 'customize.php' )
- ) ),
- __( 'Manage with Live Preview' )
- );
- }
+if ( current_user_can( 'customize' ) ) {
+ printf(
+ ' %2$s',
+ esc_url( add_query_arg(
+ array(
+ array( 'autofocus' => array( 'panel' => 'widgets' ) ),
+ 'return' => urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) )
+ ),
+ admin_url( 'customize.php' )
+ ) ),
+ __( 'Manage with Live Preview' )
+ );
+}
?>
-
+
+