mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-18 10:14:30 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user