Skip to content

Commit

Permalink
Revert "Fix Dashboard: Correct capability"
Browse files Browse the repository at this point in the history
This reverts commit ac7d4a9.
  • Loading branch information
shrimp2t committed Mar 31, 2016
1 parent c4ed38e commit a97434f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
add_action('admin_menu', 'codilight_lite_theme_info');
function codilight_lite_theme_info() {
$theme_data = wp_get_theme();
add_theme_page( sprintf( esc_html__( '%s Theme Dashboard', 'codilight-lite' ), $theme_data->Name ), sprintf( esc_html__('%s', 'codilight-lite'), $theme_data->Name), 'edit_theme_options', 'ft_codilight_lite', 'codilight_lite_theme_info_page');
add_theme_page( sprintf( esc_html__( '%s Theme Dashboard', 'codilight-lite' ), $theme_data->Name ), sprintf( esc_html__('%s', 'codilight-lite'), $theme_data->Name), 'edit_themes', 'ft_codilight_lite', 'codilight_lite_theme_info_page');
}

function codilight_lite_theme_info_page() {
Expand Down

0 comments on commit a97434f

Please sign in to comment.