John Clause on "[Plugin: qTranslate X] Bug: doing_front_end wrong value"

ساخت وبلاگ

Thanks a lot for your research, @nsp-code, I wish everybody would do that much work ::+1!

I think, your code will break some of AJAX calls, which have WP_ADMIN defined, but need to go as front-end. Complexity of this logic forced us to introduce 'doing_front_end', otherwise you would be correct and we would not even need 'doing_front_end' variable. I am not still quite sure on the best way of doing all this logic, we may redesign it one more time in the future taking into account all the cases we have seen during the past year. For now, it works apparently more or less stable for the majority of our 100K+ users, but it might be possible to improve even more.

We must use some other solution for WP-Hide. I did not try it, I read on description:

Change the default WordPress login urls from wp-admin and wp-login.php to something totally arbitrary

When you replace wp-admin with something "totally arbitrary", could you try to preserve prefix 'wp-'? It helped on other security plugins. Does it help to WP-Hide? I think it should at least fix problem with wp-login.php, not sure if it will work on wp-admin. If it does not, we can improve that place to check for 'wp-' prefix too.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 198 تاريخ : سه شنبه 25 خرداد 1395 ساعت: 9:35