Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Bug in administration area > Role Scoper Options > WP Role Definitions

UserPost

5:25 am
February 20, 2009


nikolira

Member

posts 3

1

Hi, great plugin. I have this bug (see screenshot) on my wordpress 2.7 installation:

I would be very grateful if you can help me with this.


screenshot

7:52 am
February 20, 2009


Kevin

Admin

posts 2503

2

Can you tell me if the following fix clears everything up?

Edit plugins/role-scoper/admin/role_definition_wp.php as follows:

add:

if ( empty($scoper->role_defs->role_caps[$role_handle]) )
   continue;

just before:

$cap_names = array_keys($scoper->role_defs->role_caps[$role_handle]);

8:34 am
February 20, 2009


nikolira

Member

posts 3

3

I think it worked. Is there any option to coose in these wp role definitions or it's just for information?

8:43 am
February 20, 2009


Kevin

Admin

posts 2503

4

I've chosen to leave Role Scoper's "WP Role Definitions" read-only and let the Role Manager plugin do its job of editing the capabilities included in WP Roles.

8:46 am
February 20, 2009


nikolira

Member

posts 3

5

OK, then it definitively worked. Thank you very much!


About the Agapetry forum

Currently Online:

12 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1245

Posts: 5653

Members:

There are 1255 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin