frozzare / wp-forms

WIP - Create forms in using code in WordPress
MIT License
11 stars 2 forks source link

Only run save once when using ajax #16

Closed rasmusbe closed 7 years ago

codecov-io commented 7 years ago

Current coverage is 74.72% (diff: 60.00%)

Merging #16 into master will increase coverage by <.01%

@@             master        #16   diff @@
==========================================
  Files            12         12          
  Lines           550        554     +4   
  Methods          95         96     +1   
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            411        414     +3   
- Misses          139        140     +1   
  Partials          0          0          

Powered by Codecov. Last update da3b9cc...c49aca6

frozzare commented 7 years ago

@rasmusbe travis fails :)

rasmusbe commented 7 years ago

Fixed, I'm not sure if calling save is the best way to do it but I think it works for now (maybe rewrite the save function to be a filter or action when doing #8 and #10