Wow, I've been running into all sorts of problems this week. And it's always dumb crap I shoulda noticed. Bad week I guess. But I'm still being dumb, so I'll ask for help again.
I would like to clean up my functions.php...so I'm trying to move my admin options stuff from functions.php to it's own file. When I do, it breaks. The admin menu works great and all options save..... but if I offload it to its own file, and bring it in like this:
require_once ( get_stylesheet_directory() . '/admin-options.php' );
The admin menu loads and works, until I try to save. Then I get the 'You do not have sufficient priviledges' error
Any idea what I should change to be able to offload this to its own file?
Here's the actual admin menu code:
http://wordpress.pastebin.com/JfHenY4w
I'm not sure if it's the require once bit I load it in with, or maybe the lines down after 316 where it looks to be saving?
Thanks once again for helping me understand the stuff I piece together!