244 reputation
211
bio website
location
age
visits member for 2 years, 8 months
seen Jan 31 at 18:26

Aug
12
asked Turn off xml rcp for certain users
Jul
29
accepted !is_admin() condition turns true in admin pages
Jun
22
comment !is_admin() condition turns true in admin pages
and now suddenly started to work again
Jun
22
comment !is_admin() condition turns true in admin pages
speaking of the devil, I just moved the git submodules and now wp-less is not working anymore, with a require_once() not found error. I double checked the path and is correct... who knows... Ok this was off topic.
Jun
22
comment !is_admin() condition turns true in admin pages
Ok, but I have no idea of where the problem could be. there are no other redirects in my function.php! The theme code is here btw github.com/bakaburg1/Overseer
Jun
22
comment !is_admin() condition turns true in admin pages
read my answer below. the problem was that I had to embed 'template_redirect' into 'init' to make it work properly!
Jun
22
answered !is_admin() condition turns true in admin pages
Jun
22
comment !is_admin() condition turns true in admin pages
yep that's my purpose! Mmmm apparently you code is the same as mine but with the !is_admin included in the first statement! and if someone is not logged in you allow him to stay in the front end! You're right that if someone is not logged cannot access backend. So i want to try this: if(!is_admin) wp_redirect(admin_url()); that would do it I hope.
Jun
21
comment !is_admin() condition turns true in admin pages
but it does! 'eppur si muove' quoting someone... :) the various console messages are shot in backend! Anyway, without digging into the problem, which could be the right hook to run that code?
Jun
21
comment !is_admin() condition turns true in admin pages
redirecting not logged in user is the only thing that works :) in the backend. It doesn't work in the front end.
Jun
21
asked !is_admin() condition turns true in admin pages
Jun
19
revised Comments appear in wrong posts
added 596 characters in body
Jun
19
comment Comments appear in wrong posts
I checked, the only pattern I'm seeing is that the articles with the mixed comments are subsequent and with a publication time almost identical. But other
Jun
18
revised Comments appear in wrong posts
added 50 characters in body
Jun
18
asked Comments appear in wrong posts
Feb
10
awarded  Popular Question
Feb
5
answered Millions of Rows — Possible Solutions?
Jan
9
accepted store/cache ajax sent data to avoid repeated request
Dec
16
awarded  Yearling
Oct
28
accepted Make theme editor to show all theme's files