Commit Graph

10089 Commits

Author SHA1 Message Date
Mike Jolley 2b5bdaa15d Remove unused variable 2017-03-03 13:31:27 +00:00
Mike Jolley 09de226bd2 Fix error checking on endpoints to prevent fatal errors
Fixes #13453
2017-03-03 13:18:07 +00:00
Mike Jolley 9c988b3412 Merge branch 'master' into fix#13454 2017-03-03 10:52:14 +00:00
Mike Jolley 8440083fef Merge pull request #13443 from woocommerce/cache-groups
Standardize cache group names
2017-03-03 10:44:34 +00:00
Mike Jolley 0a53e0e47f Merge pull request #13444 from woocommerce/fix-13420
Set date paid for old orders
2017-03-03 10:41:33 +00:00
faisal-alvi 8b579bb820 fix#13454 2017-03-03 15:18:59 +05:30
Claudio Sanches f7d8ddffab Merge pull request #13452 from woocommerce/fix-13405
Legacy API tweaks
2017-03-02 22:42:46 -03:00
Claudiu Lodromanean bd4458fa90 Change create to save 2017-03-02 14:28:35 -08:00
Claudio Sanches 29318f85a6 Merge pull request #13451 from thenbrent/fix_undefined_var
Fixes for $order_url variable
2017-03-02 19:17:01 -03:00
Claudio Sanches 7b77a9fd2e Merge pull request #13449 from woocommerce/fix-13427
get_meta should return empty array sometimes
2017-03-02 19:15:00 -03:00
Brent Shepherd 759de5cc00 Fix undefined $order_url variable
In the case of an order with no items.

Fix redundantly setting the $order_url multiple times in the case
of orders with more than one line item.
2017-03-02 13:09:38 -08:00
Claudio Sanches 3aa86075d1 Prevent errors when do not have a paid date 2017-03-02 16:29:04 -03:00
Claudiu Lodromanean d5fd1e46ee get_meta should return empty array sometimes 2017-03-02 11:16:49 -08:00
Claudio Sanches 9fb2ba7783 [REST API] date_paid should be in date time format, closes #13255 2017-03-02 15:25:32 -03:00
Mike Jolley 35eea95550 Set date paid for old order 2017-03-02 17:47:28 +00:00
Mike Jolley c76c2d1a8d Merge pull request #13442 from woocommerce/fix-13419
Update date created/modified if changed.
2017-03-02 17:39:45 +00:00
Mike Jolley 1a8737fdeb Standardize cache group names 2017-03-02 17:15:39 +00:00
Mike Jolley 200f4c7741 Merge pull request #13414 from woocommerce/fix-13400
Dont save empty text attributes
2017-03-02 16:52:34 +00:00
Mike Jolley 0b0066b2a0 Merge pull request #13424 from woocommerce/fix/reintroduce-virtual-coupons
Reintroduce virtual coupons by "un"deprecating the filter.
2017-03-02 16:52:24 +00:00
Claudio Sanches 6dad909570 Merge pull request #13425 from woocommerce/fix-13411
Dont render empty stock descriptions
2017-03-02 13:49:12 -03:00
Mike Jolley fd07d06825 Update date created/modified if changed.
Fixes #13419
2017-03-02 16:46:59 +00:00
Claudiu Lodromanean 3f1d538878 Single quotes instead of double 2017-03-02 08:45:01 -08:00
Claudiu Lodromanean 36a8d08a5f Tweak no-availability check 2017-03-02 08:30:01 -08:00
Claudiu Lodromanean 527fb42771 Refactor empty option check 2017-03-02 08:21:20 -08:00
Mike Jolley 5637f043e5 Fix term name in update function
Closes #13398
2017-03-02 15:59:22 +00:00
Mike Jolley 2e56114d8e Fix styling of variation upsells 2017-03-02 15:33:08 +00:00
Mike Jolley 0dfab8326b Backwards compatibility for woocommerce_upsell_display_args 2017-03-02 15:29:15 +00:00
Mike Jolley 793b2dfa69 woocommerce_upsells_total filter.
Closes #13436
2017-03-02 15:15:41 +00:00
Mike Jolley c29f6bba50 Merge pull request #13408 from woocommerce/fix-13396
Better invalid data store handling
2017-03-02 12:46:51 +00:00
Claudiu Lodromanean 635f8c38a7 Dont render empty stock descriptions 2017-03-01 15:19:31 -08:00
Boro Sitnikovski 519e81ef59 Merge branch 'master' into fix/reintroduce-virtual-coupons 2017-03-02 00:09:03 +01:00
Claudiu Lodromanean f7752fb9b7 Merge pull request #13413 from JeroenSormani/fix-set-bill-location
Set the $state default to '' to prevent warning
2017-03-01 14:18:02 -08:00
Boro Sitnikovski 428e32bfa9 Reintroduce virtual coupons by "un"deprecating the filter.
We also need to return to skip CRUD processing.
2017-03-01 22:49:21 +01:00
Justin Shreve 14b06ee323 Merge pull request #13423 from woocommerce/fix/rest-command-notice
Fix PHP notice that displays when running CLI commands that accept no ID arguments.
2017-03-01 13:38:11 -08:00
Justin Shreve 0a4c20183d Merge pull request #13421 from woocommerce/fix/cli-version-target
Only target v2 of the WC REST API when generating CLI commands.
2017-03-01 13:34:59 -08:00
Justin Shreve e8754eafcb Fix the PHP notice that is displaying when running commands like shop_coupon list that accept no ID arguments. 2017-03-01 13:22:02 -08:00
Justin Shreve 9c8dd2d916 Only target v2 of the WC REST API when generating CLI commands. 2017-03-01 13:05:04 -08:00
JeroenSormani d97ae5f9a6 Set the default to '' to prevent warning 2017-03-01 19:45:38 +01:00
Claudiu Lodromanean e132dcba17 Dont save empty text attributes 2017-03-01 10:39:08 -08:00
JeroenSormani d553b080de Fix some docblock @param tags / remove a @access public 2017-03-01 18:44:11 +01:00
Claudiu Lodromanean 1eafb487d7 Allow invalid data store exceptions to bubble 2017-03-01 09:24:30 -08:00
Claudiu Lodromanean 65b98b77a3 Better class-enforcing checking 2017-03-01 08:58:03 -08:00
Mike Jolley 2dd8ec743a Typo 2017-03-01 15:05:24 +00:00
Mike Jolley 3508578831 Merge pull request #13395 from woocommerce/optimise-cron-events
Email cron jobs - avoid storing full data objects
2017-02-28 21:31:25 +00:00
Mike Jolley 737c962e48 docblock 2017-02-28 21:16:58 +00:00
Mike Jolley 4f333d0e82 More efficient expand 2017-02-28 21:16:03 +00:00
Mike Jolley fb576b015b Email cron jobs - avoid storing full data objects 2017-02-28 20:35:52 +00:00
Michael Pretty 63dca2393c Allow use of a specific instance of a data store
fixes #13393
2017-02-28 15:01:06 -05:00
Mike Jolley 6edd13579b Update date paid if transitioning to payment complete status (#13382)
* Update date paid if the from status is unpaid, and the to status is ! unpaid

Closes #13376

* maybe_set_date_paid, maybe_set_date_completed and needs_processing helpers

Set paid is performed once only for BW compatibility with #13375

* Should use set_date_completed

* Docblock and params
2017-02-28 19:08:12 +00:00
Claudiu Lodromanean 5ac880347c Merge pull request #13390 from woocommerce/video-updates
Video updates
2017-02-28 09:51:40 -08:00