Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   [SOLVED] Admin menu visibility - edit_themes (http://forum.bytesforall.com/showthread.php?t=11707)

boone Dec 13, 2010 12:48 PM

[SOLVED] Admin menu visibility - edit_themes
 
In Atahualpa 3.5.3, the theme's admin menu item is only visible to users with the capability 'edit_themes', which WPMS site admins do not have by default.

Please consider changing the last line (65) of functions/bfa_ata_add_admin.php to:

add_theme_page("Atahualpa Options", "Atahualpa Theme Options", apply_filters( 'bfa_ata_admin_menu_cap', 'edit_theme_options' ), 'functions.php', 'bfa_ata_admin');

That sets the default to edit_theme_options (which blog admins *do* have), and allows site admins or plugin authors to change the cap back to edit_themes if they want.

Thanks"

juggledad Dec 13, 2010 04:58 PM

This has already been added into 3.5.4


All times are GMT -6. The time now is 10:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.