How to localize inline script called with ajax
Sidestep the entire issue and just include fo_edit_script in the header of the page, rather than in the AJAX part. There’s no need at all to do this. You might think that by only including it when its needed your optimising but your not, because it’s having to load it every time you open an … Read more