Closed michaelbeil closed 9 years ago
The form isn't submitting twice and neither is the AJAX call I tested both of these. As far as I can tell the internal API is running twice for this?
I tracked this down to the API itself. When kill the process what creates a post, the API returns an error twice. I think the updates to the meta option api are what's causing this. This means that the api is running twice for EVERy action created. :(
That doesn't use lasso-internal-api that uses the wp api via the client.js
On Thu, Jun 18, 2015, 3:50 PM Nick Haskins notifications@github.com wrote:
I tracked this down to the API itself. When kill the process what creates a post, the API returns an error twice. I think the updates to the meta option api are what's causing this. This means that the api is running twice for EVERy action created. :(
— Reply to this email directly or view it on GitHub https://github.com/AesopInteractive/lasso/issues/92#issuecomment-113270484 .
when i wp_die() at the point where it runs wp_insert_post, it returns two errors instead of one. any thoughts?
I think I need to make time to reproduce this locally.
On Thu, Jun 18, 2015, 6:00 PM Nick Haskins notifications@github.com wrote:
when i wp_die() at the point where it runs wp_insert_post, it returns two errors instead of one. any thoughts?
— Reply to this email directly or view it on GitHub https://github.com/AesopInteractive/lasso/issues/92#issuecomment-113300710 .
Master has a bug, that goes back to our latest release of 0.9.5, where there is a duplication happening.