Hi,
The plugin does not use the wp-json endpoints, but the wp-admin/admin-ajax.php endpoint. However it’s not hard coded, so it’s requested from WordPress core. I suspect that might be the issue? Make sure that’s not changed or hidden.
It wouldn’t make any difference of changing the admin-ajax URL anyways, as it’s a public resource used by the WordPress Core for XHR requests, so even if you were to change it it’s immediately revealed. That should resolve the issue.
All the best,
Ernest
Sorry little confused. Make sure what is not changed or hidden?
The issue only occurs if I change the wp-json path. I can change admin-ajax.php without issue.
I have the plugin set to use its own ajax in settings also.
I’m sorry, I wasn’t clear. Make sure the admin-ajax URL is not changed.
Can I take a look at this issue somewhere?
All the best,
Ernest
Hi,
Not a problem although it already is and has no impact.
You can see the issue here: https://ukradio.live currently admin-ajax.php is set as just ajax.php and wp-json path is not modifed and search works.
Now if I change wp-json search will break.
Thank you
Okay! Can you change it so it’s broken? I will run a few tests to see what changes.
Yep, I have changed wp-json to api now 🙂
Thanks! I tried it again, but everything works as before: https://i.imgur.com/qSRU2yl.png
Do you see something different?
Ok that is very odd as I was tinkering last night with it and thought I had pin pointed what was breaking it, but now it’s fine.
Well in that case it seems the issue is resolved at the moment!
What would happen before, you would type in the search but nothing would happen at all no spinner or results would show.
My apologies and thank you for checking.