Impossible to access the site administration
Impossible to access the site administration
Impossible to access the site administration
Instead of using init hook why don’t you use the wp_loaded hook. This way, you’re sure that everything is loaded add_action(‘wp_loaded’,’do_stuff’); function do_stuff(){ $current_user = wp_get_current_user(); if ($current_user->ID > 0) { // rest of your code here // $current_user->ID will give you the ID of the current user. } }
sorry but do not have enough reputation on stackoverflow to add a comment under yours. So my reply then here. I can list all my plugins but how I should reproduce it, because it happens randomly. And how should I put a error_log() in each function? I do not have the “Autorizer” so this should … Read more
I suspect, this issue is much more related to htaccess rather than WordPress installation. In a standard WP installation, you can find the .htaccess file in the root directory of your WP install. This file is used for various server settings and specifically, URL rewrites. The reason for this file starts with a dot, the … Read more
Thanks everyone for even thinking the issue 🙂 Is was actually a hosting configuration issue. Even though I have checked with them many times.
How to add default folders to Every registered User when registered in WordPress site?
Allow users to edit post without logging in
How to remove/limit Editor accounts privileges, to prevent them from deleting media and pages created by Admin
I guess you are not familiar with WordPress API. WordPress uses nonces to keep track of logged in users and authorized requests. Relatively new feature is also App authentication, which is under the hood basic authentication. However, while WordPress IS secure (nonces are sent in headers and have expiry time), specific plugin you are using … Read more
Two users attempt to modify a page