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
This commit is contained in:
Andrew Nacin 2014-04-12 20:52:35 +00:00
parent a9b0b8cd13
commit 7a25da5240

View File

@ -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