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:
parent
826d79d572
commit
eca26bc5ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue