WordPress.org

Make WordPress Core

Changeset 28093


Ignore:
Timestamp:
04/12/2014 08:52:35 PM (6 years ago)
Author:
nacin
Message:

The widgets pointer requires the edit_theme_options capability.

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

see #27777.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r28090 r28093  
    18551855        $caps_required = array(
    18561856            'wp350_media' => array( 'upload_files' ),
     1857            'wp390_widgets' => array( 'edit_theme_options' ),
    18571858        );
    18581859
Note: See TracChangeset for help on using the changeset viewer.