|Posted: Wednesday Mar 6th, 2013 at 12:45 pm #43887|
***YOU CAN IGNORE MOST OF THESE POSTS UNTIL THIS REPLY: http://www.s2member.com/forums/topic/fao-jason-potential-bug-with-bbpress-2-2/#post-43918 WHEN I FINALLY WORK OUT WHAT IS GOING ON – KIND OF!***
I think this might be one for Jason – and how the code for S2Member changed the way BBPress caps are now used in S2 after BBPress 2.2+ started dynamically assigning roles.
I have just come to edit some topic tags from the backend of my site, but was very surprised to see that the option which should display under
Topics > Topic Tags was not there.
Now bizarrely I can access the topic tags page by using the direct slug which should be /wp-admin/edit-tags.php?taxonomy=topic-tag&post_type=topic
So the page exists, I’m just not seeing the flyout menu option for it.
For that reason it has to be a caps issue, and the ONLY thing that I can think of that might alter caps is s2Member.
Now what is a bit weird is that when I deactivate S@ member, the issue REMAINS, which would suggest that a permanent change to the user caps has been made somewhere.
I’ve NEVER used any plugins other then BBPress that did this.
I think BBPress 2.0 and 2.1 DID alter these caps permanenlty, and that’s why in 2.2+ they did away with that method to role with dynamic roles to avoid problems, so it COULD be something gummed up from an older version of BBPress I guess.
My question is does S2 alter caps permanently and could this issue be caused by that happening.
The ‘bbp_topic_tags_admin’ cap is mapped to the ‘moderate’ cap, which means a user needs to be a Moderator or higher to see the UI.
That happens in: bbp_map_topic_tag_meta_caps()
Does S2 follow this rule and is that why the UI for the topic tags might not be showing.
I’m not too clued up on it, but would love a little help if possible.
As always, thanks so much guys!
PS, it’s not a different plugin issue as this happens if I deactivate EVERYTHING and switch to BP-Default.
- s2Member® Products