Yes you are correct, shortly after posting the above I realised it was not browser related, but actually dependant on the user. For us it was all non-admin users could not rate.
We found that this code we were using was conflicting :
// Redirect non-admin users out of the Admin panel
add_action( 'init', 'blockusers_init' );
function blockusers_init() {
$user_id = get_current_user_id();
if ( is_admin() & $user_id != 1) {
wp_redirect( home_url() );
exit;
}
}
We’ve solved this issue but adding the Ajax conditional :
// Redirect non-admin users out of the Admin panel
add_action( 'init', 'blockusers_init' );
function blockusers_init() {
if ( is_admin() && ! current_user_can( 'administrator' ) &&
! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
wp_redirect( home_url() );
exit;
}
}
-
This reply was modified 7 years, 4 months ago by
rivmedia.