Is there a way to show a 404 page if the current logged in user does not have the right clearance to view the page? I am looking for a PHP method, something like if( !current_user_can('administrator') ) { show_404(); exit(); } I have thought about using a redirec
in progress 0
, Evan Yeung 10 years 0 Answer 70 views

I've been writing some Wordpress plugins, and I've been having some problem with Wordpress putting magic quotes on POST and GET data. Specifically, the "wp_magic_quotes" function in wp-includesload.php, which is called (presumably on every response) in wp-settings.php. This function adds
, Matthew Groves 10 years 0 Answers 85 views