Commit Graph

15 Commits

Author SHA1 Message Date
Allen Snook e510d94836 Only create/update tables on init if WP_DEBUG is true 2018-11-01 12:59:32 -07:00
Allen Snook 3c323d6c75 Run dbdelta on init, at least as long as this is a separate plugin 2018-10-31 15:47:39 -07:00
Allen Snook 51991d1b27 Remove inadvertently added blank line 2018-10-23 10:41:17 -07:00
Allen Snook c45a6cf5de On update, add a note alerting that the store notice setting has moved 2018-10-23 10:30:33 -07:00
Allen Snook f0495c7071 Rename wc_admin_daily function to do_wc_admin_daily to distinguish it from the hook 2018-10-22 09:09:28 -07:00
Allen Snook 3d7b92f58f Make it a proper daily scheduled event 2018-10-19 14:47:39 -07:00
Allen Snook d05a1c63ff Calculate previous days sales, add note if new max 2018-10-19 14:41:37 -07:00
Joshua T Flowers 098bf7a2bc Deactivate plugin if dependencies not met (https://github.com/woocommerce/woocommerce-admin/pull/530)
* Deactivate plugin if dependencies not met

Wc-admin has hooks that install tables.  Currently if WC is not active on install, those hooks don't fire and initial tables will never be created resulting in API errors

* Unset plugin activation message if dependencies not met
2018-10-18 14:37:49 -04:00
Jonathan Belcher c7f56f8a07 Adds WooCommerce version requirement and message (https://github.com/woocommerce/woocommerce-admin/pull/524) 2018-10-15 15:23:09 -04:00
Peter Fabian 670436ac13 PHPCS fixes. 2018-09-24 17:24:08 +02:00
Peter Fabian 5aa3aae58a The installation code should not run on each plugin load, only when activated. 2018-09-21 12:14:08 +02:00
Peter Fabian 1b71184f23 Updated path to background process class. 2018-09-17 20:36:29 +02:00
Peter Fabian e692c45c87 Added missing path separator. 2018-09-17 20:20:00 +02:00
Peter Fabian d2ac6cdbe1 Added reporting REST API extensions to wc-admin. 2018-09-17 16:32:03 +02:00
Justin Shreve 71c12e6795 Update woo-dash naming to new wc-admin name (https://github.com/woocommerce/woocommerce-admin/pull/183) 2018-07-10 08:48:06 -04:00