From 7a25da52409f4f2b07908315a0fa51802fdc1986 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 12 Apr 2014 20:52:35 +0000 Subject: [PATCH] The widgets pointer requires the edit_theme_options capability. (It's hypothetically possible to have only switch_themes.) see #27777. git-svn-id: https://develop.svn.wordpress.org/trunk@28093 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 476b170a9b..49d5a5daf0 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1854,6 +1854,7 @@ final class WP_Internal_Pointers { $caps_required = array( 'wp350_media' => array( 'upload_files' ), + 'wp390_widgets' => array( 'edit_theme_options' ), ); // Get dismissed pointers