dimanche 19 avril 2015

Wordpress Ajax for logged in user fails

I am using wordpress 4.1.1. wp-admin and other several pages (like login, register...) use https connection. My goal is create ajax request for adding tickets to system.


So I can not call function for logged in user it calls function for not-logged in user. But when I add https for this page it`s work fine for me.


Question:


How I can keep user logged in on https and http, so is_user_logged_in() in amin-ajax.php works fine?


Aucun commentaire:

Enregistrer un commentaire