Hi @caseproof,
I have the same problem and you say on your solution to add that snippet at the end of my theme’s functions.php file, but where exactly? at the last line or before the line which returns the theme’s instance? Just want to now where exactly.
Side question – what do you mean by capabilities? can you show a example with user roles