Claudio Sanches
73de7414e2
Fixed includes/wc-order-functions.php PHPCS violations
2018-03-08 15:47:54 -03:00
ragulka
4f2e1ee8d4
Ensure refund is deleted when exception is thrown during wc_create_refund
2017-11-22 17:03:58 +01:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Claudio Sanches
1b93282245
Change note to content
2017-07-13 19:30:25 -03:00
Claudio Sanches
3265f18af8
Tidy up wc_delete_order_note()
2017-07-12 18:46:19 -03:00
Claudio Sanches
85873d3d28
Not allow 'count' and 'fields' in wc_get_order_notes()
2017-07-12 18:45:27 -03:00
Claudio Sanches
ac8b7f7087
Fixed docblocks
2017-07-12 18:05:44 -03:00
Claudio Sanches
d93214e68e
Order note helper functions
2017-07-12 18:03:39 -03:00
Trey Richards
f019070307
Fixed major issue with getting orders when both before_date and after_date args are set.
...
Modified unit tests to prevent from happening again.
2017-06-30 17:30:16 -07:00
Mike Jolley
e83450b861
Errors do not need localisation
2017-06-06 13:10:22 +01:00
claudiulodro
b27fb203ef
Add wiki link to wc_get_orders
2017-06-01 11:58:43 -07:00
Mike Jolley
71a4b4b75d
Code standards
2017-06-01 12:08:48 +01:00
Pablo dos Santos Gonçalves Pacheco
435c29771e
Create function to sanitize order id
...
I've realized that tracking an order id with **[woocommerce_order_tracking]** using # will not work. Some users think that they need to use the hash because it's the WooCommerce default. The new **wc_sanitize_order_id()** function fixes that.
And **woocommerce_shortcode_order_tracking_order_id** filters the order_id that comes from query string and is used on **[woocommerce_order_tracking]**.
It can be used for other cases though.
I hope it helps :)
2017-05-31 17:34:00 -03:00
Diego Zanella
b14a2db2e6
Fix for #15336
...
* Replaced reference to `WC()->payment_gateways` property with call to `WC()->payment_gateways()` method.
2017-05-29 13:02:16 +01:00
Mike Jolley
f6df18542a
Merge pull request #15113 from bekarice/fix/wc_create_refund-date
...
Fix: Re-add date for wc_create_refund()
2017-05-23 19:33:23 +01:00
Beka Rice
8885d58799
Fix: Re-add date for wc_create_refund
2017-05-17 04:46:56 -04:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
claudiulodro
cec2c3b7dc
Couple requested changes
2017-05-13 12:22:22 -07:00
claudiulodro
d9c5536cf2
formatting
2017-05-12 15:31:34 -07:00
claudiulodro
fe40e9b96a
Make date queries work properly
2017-05-12 15:25:15 -07:00
claudiulodro
2ce90b3eb6
Slightly better date handling
2017-05-12 12:59:54 -07:00
claudiulodro
3861e32803
Migrate wc_get_orders
2017-05-12 11:45:01 -07:00
Mike Jolley
7c82087bcd
Check we have a valid order in wc_get_payment_gateway_by_order
...
Fixes #14973
2017-05-10 19:54:20 +01:00
Mike Jolley
505813403e
@used-by WC_Order::set_status comment
...
#13891
2017-04-04 11:52:54 +01:00
Akeda Bagus
0b416439c8
Fixed all typos of all files in includes/ directory.
...
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell .
2017-03-29 00:58:51 +07:00
Mike Jolley
b3198d2546
woocommerce_after_register_post_type action
2017-03-28 12:37:17 +01:00
Mike Jolley
f50254be28
Update notice to protect against calls before post type registration
...
Closes #13763
2017-03-28 12:03:09 +01:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
d55653a408
Merge branch 'master' into fix-13498
...
# Conflicts:
# includes/class-wc-order.php
# tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Claudio Sanches
c4134586cd
FUpdate how save download dates
2017-03-13 20:54:33 -03:00
Mike Jolley
8ab839a030
Replace template usage of dates
2017-03-10 16:35:47 +00:00
Claudiu Lodromanean
e36ee46dea
Make increase_usage_count work correctly on concurrent checkoutt
2017-03-08 15:27:37 -08:00
Mike Jolley
fce44e2271
Status filter adjustment #13357
2017-02-27 11:55:09 +00:00
Mike Jolley
31d428131e
Imrpove checkout performance when updating product sales
2017-02-10 23:41:53 +00:00
Mike Jolley
b5572fc041
wc_create_refund should handle payment and stock
2017-02-08 16:19:47 +00:00
Justin Shreve
b660eda4b8
Add date searching to wc_get_orders.
2017-01-17 12:52:27 -08:00
Mike Jolley
451199a388
Hooks when creating refunds
2017-01-10 14:14:05 +00:00
Mike Jolley
d7dfdd3d10
Wrap all deprecation calls.
2016-11-23 16:15:00 +00:00
Mike Jolley
b1007c9d62
Fix order item meta saving
2016-11-23 15:37:34 +00:00
Mike Jolley
edf973d35f
Feedback
2016-11-21 14:30:56 +00:00
Mike Jolley
b1565cf0d6
Download update routine and interface
2016-11-18 19:29:37 +00:00
Mike Jolley
1b6d7acd24
Data store for downloads
2016-11-18 17:13:02 +00:00
Mike Jolley
ac3be6ba50
Order stores complete
2016-11-18 14:07:21 +00:00
Mike Jolley
5d9a9b4dec
Fix tests
2016-11-18 11:14:09 +00:00
Mike Jolley
c933f82961
Refunds
2016-11-17 16:53:13 +00:00
Mike Jolley
ac6bda2f62
Product crud abstract todos ( #12316 )
...
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
2016-11-11 15:31:00 +00:00
Mike Jolley
4fc03c9930
Revert "[Product CRUD] Abstract todos ( #12305 )"
...
This reverts commit 9a6136fcf8
.
2016-11-11 11:58:57 +00:00
Mike Jolley
9a6136fcf8
[Product CRUD] Abstract todos ( #12305 )
...
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
2016-11-11 11:43:52 +00:00
Mike Jolley
5f4dbdb733
[Product CRUD] Variations - setters, getters and admin. ( #12228 )
...
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
2016-11-09 16:05:49 +00:00
Claudio Sanches
2de494e105
Merge pull request #12219 from ramiy/i18n-translation-comments
...
i18n: add translators comments
2016-11-03 13:24:35 -02:00