Skip to content

Commit

Permalink
Customizer
Browse files Browse the repository at this point in the history
Capability fix
  • Loading branch information
Eugene committed Dec 20, 2016
1 parent 9f21b8f commit 92b18bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/theme-options/customizer/customizer.php
Expand Up @@ -93,7 +93,7 @@ public function register_settings ($wp_customize) {
$wp_customize->add_setting(esc_attr($id), array(
'default' => $g_default,
'type' => $type,
'capability' => '',
'capability' => 'edit_theme_options',
'sanitize_callback' => $sanitize
));
if ($key == 0) {
Expand Down Expand Up @@ -194,7 +194,7 @@ public function register_settings ($wp_customize) {
$wp_customize->add_setting(esc_attr($id), array(
'default' => $f_default,
'type' => $type,
'capability' => '',
'capability' => 'edit_theme_options',
'sanitize_callback' => $sanitize
) );

Expand Down

0 comments on commit 92b18bc

Please sign in to comment.