The widgets pointer requires the edit_theme_options capability.

(It's hypothetically possible to have only switch_themes.)

see #27777.

Built from https://develop.svn.wordpress.org/trunk@28093


git-svn-id: http://core.svn.wordpress.org/trunk@27924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-04-12 20:53:15 +00:00
parent 826d79d572
commit eca26bc5ae
1 changed files with 1 additions and 0 deletions

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