Access restriction stop working with 3.5
-
Hi all!
Does anyone else have the problem that access restriction stopped working with the new update.
This line don’t grant me access to restricted content.
if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.');
The page just die, any idea why`?
- The topic ‘Access restriction stop working with 3.5’ is closed to new replies.