Commit Graph

10095 Commits

Author SHA1 Message Date
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
Mike Jolley 432ca28398 Update cart discount for old orders (#13384)
* Total discount bw compat handling

Fixes #13383

* if
2017-02-28 17:49:54 +00:00
Claudiu Lodromanean 84091e5d4b Whitespace tweak 2017-02-28 09:49:15 -08:00
Mike Jolley 7ab0b99afe Merge pull request #13389 from woocommerce/fix-13388
Fix trashed variation cleanup
2017-02-28 17:45:02 +00:00
Ryan Ray 05a40d8df7 Merge branch 'master' into video-updates 2017-02-28 10:56:28 -05:00
Mike Jolley 41a4bdb181 Fix trashed variation cleanup
Fixes #13388
2017-02-28 15:38:11 +00:00
Mike Jolley 5236f48822 Merge pull request #13387 from woocommerce/checkout-styles
Checkout styles
2017-02-28 14:19:57 +00:00
Mike Jolley 3df175fbc5 Hide bacs if empty 2017-02-28 12:46:31 +00:00
Konstantinos Kouratoras 4d8714c50a Fix a typo in help section
Fix `splease` typo in help section.
2017-02-28 13:24:30 +02:00
Mike Jolley 8b4625e02e Legacy variation meta handling 2017-02-28 10:29:08 +00:00
Mike Jolley fd94ce74bc Rogue exit in data store 2017-02-28 00:53:41 +00:00
Mike Jolley 906bc70e74 Fix permalink base check
Closes #13374
2017-02-28 00:16:26 +00:00
Claudiu Lodromanean 4a4de2a951 Americanize some words 2017-02-27 14:59:37 -08:00
Mike Jolley 8cc23eacdf Merge pull request #13369 from woocommerce/fix-order-refund-methods
Fix order refund methods
2017-02-27 18:02:22 +00:00
Mike Jolley 790dd57933 Apologise -> american english
Closes #13370
2017-02-27 17:39:08 +00:00
Mike Jolley f2990b0c7d Check we have a WC_Order during email events 2017-02-27 17:08:13 +00:00
Mike Jolley f5a36778fd Move refund/payment method code out of abstract 2017-02-27 17:06:09 +00:00
Mike Jolley 84a4c3415c Handle auto drafts
Fixes #13361
2017-02-27 14:40:48 +00:00
Mike Jolley 194ed85d0e Change title update logic to look at product version and prefix
Fixes #13363
2017-02-27 14:40:32 +00:00
Mike Jolley 5c06a6a591 Missing wc_format_localized_price
Fixes #13356
2017-02-27 13:39:35 +00:00
Mike Jolley fce44e2271 Status filter adjustment #13357 2017-02-27 11:55:09 +00:00
Ryan Ray 024b77f088 Updated the embed code.
Added a few new videos.
Modified the videos to include more appropriate time stamps
2017-02-25 13:45:00 -05:00
Ryan Ray b2107f1a62 Renaming what used to be WooCommerce 101 videos to the current Guided
Tour naming scheme.
2017-02-25 11:40:10 -05:00
Caleb Burks e782760011 Clean up
These lines, so long ;p
2017-02-25 02:27:38 -06:00
Caleb Burks 21da6ee31c Hide coupon free shipping conditionally 2017-02-25 02:16:30 -06:00
Claudio Sanches 1eccb65d85 Fixed coding standards 2017-02-24 17:30:41 -03:00
Claudio Sanches 572dd1c91e Merge pull request #13346 from woocommerce/i18n-urls
Fixed confuse translatable URLs
2017-02-24 17:18:37 -03:00
Claudio Sanches 4eccbef6e1 Fixed infinite loop cause by duplicated hook names 2017-02-24 17:02:05 -03:00
Claudio Sanches a4d2048755 Fixed confuse translatable URLs 2017-02-24 16:41:56 -03:00
Claudio Sanches c90e0259f2 Merge pull request #13338 from woocommerce/fix-13337
Check isset in check_comment_rating
2017-02-24 16:15:30 -03:00
Claudio Sanches d2ef02477a Merge pull request #13341 from woocommerce/fix-13326
Make theme handling methods static
2017-02-24 16:11:26 -03:00
Claudio Sanches 6f434ee828 Make WC_Twenty_Seventeen::init() static
@mikejolley
2017-02-24 16:10:34 -03:00
Claudio Sanches 5383349a0a Merge pull request #13339 from woocommerce/fix-13335
Edit context when duplicating skus
2017-02-24 16:07:17 -03:00
Claudio Sanches bf51da64d7 Merge branch 'master' into fix-13335 2017-02-24 16:07:00 -03:00
Claudio Sanches 3e7e9dafb1 Allow wc_format_decimal() return negative values 2017-02-24 15:58:02 -03:00
Claudio Sanches 2dc3033c1e Better fees description 2017-02-24 15:38:14 -03:00
Claudio Sanches 1fdcacc565 Stop remove negative fees 2017-02-24 15:31:51 -03:00
Claudio Sanches 9cb6549ea7 Merge pull request #13340 from woocommerce/fix-13331
JSON-LD
2017-02-24 15:10:23 -03:00
Mike Jolley 8ae66520e8 woocommerce_send_queued_transactional_email filter
Closes #13318
2017-02-24 13:16:41 +00:00
Mike Jolley 1aaefd9ed7 Make methods static 2017-02-24 12:41:15 +00:00
Mike Jolley 7739bca4fa Skip replies unless they have a rating. 2017-02-24 12:34:09 +00:00
Mike Jolley 0de73ee4f9 Only show reviewRating when rating is set. 2017-02-24 12:32:39 +00:00
Mike Jolley 6bc97dce91 wc_product_force_unique_sku edit context 2017-02-24 11:43:58 +00:00
Mike Jolley f9b17ea681 Use edit context when duplicating sku 2017-02-24 11:42:28 +00:00
Mike Jolley bed9313fab Check isset in check_comment_rating 2017-02-24 10:35:28 +00:00
Claudiu Lodromanean eca9828d66 Merge pull request #13330 from woocommerce/fix-13322
Fixed wrong index for _wc_variation_file_hashes
2017-02-23 13:39:55 -08:00
Claudio Sanches e0cffc0934 Merge pull request #13329 from woocommerce/fix-13320
Delete cached object when updating stock
2017-02-23 18:20:40 -03:00
Claudio Sanches ad09c23d1f Fixed wrong index for _wc_variation_file_hashes, closes #13322 2017-02-23 18:17:44 -03:00
Claudiu Lodromanean 07a021760a 13320 Delete cached object when updating stock 2017-02-23 12:56:34 -08:00
Claudio Sanches b51a160369 Merge pull request #13311 from woocommerce/fix-13297
Wrap read with try catch block
2017-02-23 17:49:55 -03:00
Claudio Sanches 688f77b1c3 Merge pull request #13327 from woocommerce/fix-13321
Map legacy tax array keys
2017-02-23 17:03:33 -03:00
Claudiu Lodromanean 252c08b943 Map legacy tax array keys to CRUD 2017-02-23 11:14:42 -08:00
Mike Jolley 6aa9a3936c Merge pull request #13324 from datafeedr/master
Removed duplicate $symbols array key
2017-02-23 18:11:33 +00:00
Mike Jolley 04aebd9fa7 Merge pull request #13306 from woocommerce/fix-13303
Fix multiple item additon to orders
2017-02-23 18:11:02 +00:00
Eric Busch c7b623e36a Removed duplicate $symbols array key
'MAD' key was used twice in the get_woocommerce_currency_symbol() function. Removed the 'MAD' key containing this value: 'د. م.'
2017-02-23 12:59:09 -05:00
Claudio Sanches a5752f9710 Merge pull request #13319 from woocommerce/legacy-order-read
Fix legacy read methods
2017-02-23 13:42:46 -03:00
Claudio Sanches c376173890 Merge pull request #13313 from woocommerce/fix-13264-2
Save existing rates rather than recreate all
2017-02-23 13:40:57 -03:00
Claudiu Lodromanean 330525eb47 Merge pull request #13317 from Chouby/deprecated_stock
Fix call to deprecated methods in ajax reduce/increase stock responses
2017-02-23 08:23:37 -08:00
Mike Jolley a9e001026d Fix legacy read methods 2017-02-23 16:19:19 +00:00
Claudio Sanches 9a666d23e1 Merge pull request #13310 from woocommerce/checkout-improvements
Checkout improvements and fixes
2017-02-23 13:15:06 -03:00
Claudio Sanches b17c3c86c6 Merge pull request #13316 from woocommerce/fix-13314
Handle _no_shipping_class
2017-02-23 12:58:51 -03:00
Frédéric Demarle c5247a8c4b Fix call to deprecated methods in ajax reduce/increase stock responses 2017-02-23 16:54:04 +01:00
Mike Jolley aaecd9e97c Handle _no_shipping_class 2017-02-23 15:48:53 +00:00
Claudio Sanches 22bb3071df Merge pull request #13305 from woocommerce/fix-13304
Fix unique sku function
2017-02-23 12:46:38 -03:00
Mike Jolley c5697f2d59 Logic error with used id 2017-02-23 15:25:49 +00:00
Mike Jolley 134df2f4a0 Save existing rates rather than recreate all
Fixes #13264
2017-02-23 14:14:50 +00:00
Mike Jolley 6f02cda453 get_item_count_refunded should be positive
Closes #13307
2017-02-23 13:52:17 +00:00
Mike Jolley 1463d2a9ba Merge pull request #13284 from woocommerce/fix-13275
Maintain support for non-prefixed item meta array access
2017-02-23 13:47:40 +00:00
Mike Jolley 7846def9b8 Use correct key to set/unset 2017-02-23 13:46:06 +00:00
Mike Jolley 1552ed8d6d Merge pull request #13309 from maximus80/master
fix photoswipe template be always loaded, even if lightbox is disabled
2017-02-23 13:11:36 +00:00
Mike Jolley 34d03e524a woocommerce_date_input_html_pattern filter
Closes #13289
2017-02-23 12:57:33 +00:00
Mike Jolley d56d11f1aa Use endpoint option in wc_get_endpoint_url
Fixes #13293
2017-02-23 12:37:41 +00:00
Mike Jolley 1d9f71fee5 Wrap read with try catch block 2017-02-23 12:09:39 +00:00
Mike Jolley eb47dc7036 Improve validation event 2017-02-23 11:51:27 +00:00
Maximus80 3c2ac21294 fix photoswipe template be always loaded 2017-02-23 11:46:48 +01:00
Mike Jolley f21997d661 Send items in one request rather than multiple requests 2017-02-23 10:19:32 +00:00
Mike Jolley dec52e8be2 Fix multiple item additon 2017-02-23 10:19:15 +00:00
Mike Jolley 2f44e5769b Don't adjust empty skus 2017-02-23 10:04:58 +00:00
Mike Jolley 4ff3c300ba Merge pull request #13298 from woocommerce/localized-coupon-amount
Coupon amount should be localized
2017-02-23 09:42:33 +00:00
Claudio Sanches 53cf89f63a Coupon amount should be localized 2017-02-22 18:58:32 -03:00
Claudio Sanches c473190756 Merge pull request #13285 from woocommerce/fix-13273
Trash and post status for orders
2017-02-22 18:56:55 -03:00
Claudio Sanches e42e2a3335 Replace woocommerce_coupon_code filter by wc_format_coupon_code() 2017-02-22 14:40:24 -03:00
Mike Jolley b409c1edef Use CRUD in coupons list 2017-02-22 17:29:59 +00:00
Mike Jolley 75928057ed Merge pull request #13282 from woocommerce/fix-13274
Check if product is taxable before calculating coupon tax.
2017-02-22 16:18:56 +00:00
Mike Jolley 3af989fa1b Merge pull request #13281 from woocommerce/fix-13265
Fix sale date field
2017-02-22 16:18:35 +00:00
Mike Jolley 4e7658a5ba Fix duplication by passing through force
Fixes #13286
2017-02-22 13:15:33 +00:00
Mike Jolley ded2accace Allow trash status to be set/returned rather than pending 2017-02-22 11:53:47 +00:00
Mike Jolley f80de0bc31 Use get_post_status directly in legacy code
Fixes #13273
2017-02-22 11:53:34 +00:00
Mike Jolley 729416a3b5 Non prefixed delete/set 2017-02-22 11:32:54 +00:00
Mike Jolley a9562ba558 Maintain support for non-prefixed item meta array access 2017-02-22 11:30:17 +00:00
Mike Jolley 1098d49526 Check if product is taxable. 2017-02-22 10:41:39 +00:00
Mike Jolley 2ac125417f Fix sale date field 2017-02-22 10:31:20 +00:00
Beka Rice 24b586c18f Fixes coupon styles so admin CSS applies 2017-02-21 21:29:06 -05:00
Mike Jolley af39a16434 Ensure date exists before setting
Fixes #13269
2017-02-21 20:50:52 +00:00
Mike Jolley 04955093d6 Use admin init hook
Closes #13248
2017-02-21 12:20:47 +00:00