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)
-   -   BUGFIX 353-02: Allow multi-site users to see the Atahualpa Theme Options (http://forum.bytesforall.com/showthread.php?t=9372)

juggledad Sep 3, 2010 08:18 AM

BUGFIX 353-02: Allow multi-site users to see the Atahualpa Theme Options
 
1 Attachment(s)
Thanks to ccloskey for finding this and providing the fix!

DESCRIPTION: Only super-admins are able to see Atahualpa Theme Options in the Appearance menu. Regular administrators see only Themes, Widgets, and Menus.

CAUSE: This is due to the new changes in Wordpress, switching from multi-user to multi-site.

FIX: This fix changes the way Atahualpa hooks into the WordPress theme administration

Edit bfa_ata_add_admin.php and find line 65 (version 3.5.3) which should be
HTML Code:

    add_theme_page("Atahualpa Options", "Atahualpa Theme Options", 'edit_themes', 'functions.php', 'bfa_ata_admin');       
and change it to the following
HTML Code:

    add_theme_page("Atahualpa Options", "Atahualpa Theme Options", 'switch_themes', 'functions.php', 'bfa_ata_admin');       
The following attachment has the fix already applied
Attachment 722


All times are GMT -6. The time now is 06:57 AM.

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