Users can not post questions

4.09K viewsWordPress
0

I am from Russia. I have a bad English so I am writing through a translator)
Added a plugin to your site, it is very necessary.
The problem is that questions are published if you have an administrator role.
All other roles are endless loading
http://h136400.s05.test-hf.su
The site is temporarily on a free domain while it is being finalized.

Answered question
0

Это был редирект для всех пользователей, кроме администратора на http://site/404
wph_noadmin функция() {
если (is_admin() && !current_user_can(‘администратор’)) {
wp_redirect(home_url().’/404′);
выход;
} }
add_action(‘инициализации’, ‘wph_noadmin’);

ajax-admin

Answered question
You are viewing 1 out of 1 answers, click here to view all answers.