Claudio Sanches
a8f0f854f4
Legacy Webhook class
2017-08-16 21:07:24 -03:00
Claudio Sanches
e8defa48dc
Webhook database schema
2017-08-16 15:37:22 -03:00
Claudio Sanches
88e0138be4
Merge pull request #16464 from iickoo/patch-1
...
Update add-to-cart-variation.js
2017-08-15 16:28:47 -03:00
iickoo
9bd01a8d44
Update add-to-cart-variation.js
2017-08-15 20:55:19 +02:00
Claudio Sanches
82a6de2e49
Merge pull request #16459 from ramiy/patch-3
...
i18n: Avoid using HTML tags in translation strings
2017-08-15 14:48:35 -03:00
Claudio Sanches
3a12f7b494
2.1.2 db update functions
2017-08-15 13:01:28 -03:00
Claudio Sanches
339ab41bf1
Remove unfiltered_html capability from Shop Managers
2017-08-15 12:57:12 -03:00
Claudio Sanches
9e8aa83d47
Escape product names on reports
2017-08-15 12:56:35 -03:00
Claudio Sanches
0fec9dbfe7
Merge pull request #16458 from ramiy/patch-2
...
i18n: Simpler translation string with placeholders
2017-08-15 12:49:31 -03:00
Mike Jolley
129eae141a
Fix custom discount amounts not multiplying by qty
2017-08-15 16:25:39 +01:00
Mike Jolley
3c18d5e849
Adjust total discount for ex.tax
2017-08-15 16:25:39 +01:00
Claudio Sanches
7a44c3d700
Merge pull request #16457 from ramiy/patch-1
...
i18n: Simpler translation string with placeholders
2017-08-15 12:05:32 -03:00
Mike Jolley
de35d9ba02
Apply woocommerce_coupon_get_discount_amount without cents
...
cc @claudiulodro
2017-08-15 15:29:22 +01:00
Claudio Sanches
a6017741ad
Merge pull request #16456 from woocommerce/update/status-tools
...
Tool to purge webhook logs
2017-08-15 11:02:27 -03:00
Mike Jolley
835d0ab450
Fix remove tax column
...
Closes #16443
2017-08-15 14:51:12 +01:00
Rami Yushuvaev
6f7c817b78
i18n: Avoid using HTML tags in translation strings
...
This PR moves the `<strong>` HTML tags from the translation strings.
Replacing: `Order scheduled for: <strong>%1$s</strong>.`
With: `Order scheduled for: %s.`
We did the same in WordPress core across several releases (4.3 - 4.7). Because it's makes the translation process to RTL language (like Hebrew) much easier.
2017-08-15 15:07:55 +03:00
Rami Yushuvaev
7ce117a0ca
i18n: Simpler translation string with placeholders
...
Replace:
`The provided handler <code>%s</code> does not implement WC_Log_Handler_Interface.`
With:
`The provided handler %1$s does not implement %2$s.`
2017-08-15 14:48:42 +03:00
Rami Yushuvaev
7ad61068e1
i18n: Simpler translation string with placeholders
...
Replace:
`The class <code>%s</code> provided by woocommerce_logging_class filter must implement <code>WC_Logger_Interface</code>.`
With:
`The class %1$s provided by %2$s filter must implement %3$s.`
2017-08-15 14:39:41 +03:00
Mike Jolley
392ce417bc
docblocks
2017-08-15 12:21:12 +01:00
Mike Jolley
3852ce59c8
Tool to purge webhooks
2017-08-15 12:15:17 +01:00
Mike Jolley
a44a57b5d9
Improve tools page styling
2017-08-15 12:05:34 +01:00
Mike Jolley
f62d505797
Merge pull request #16427 from nyordanov/variation-permalink-infinite-loop
...
Prevent infinite recursion in WC_Post_Data::variation_post_link()
2017-08-15 10:59:36 +01:00
Mike Jolley
4101e313bb
Merge pull request #16392 from woocommerce/feature/admin-apply-discount-15501
...
[WIP] Admin discounts
2017-08-15 10:07:00 +01:00
Mike Jolley
70248b2fa6
Merge pull request #16419 from woocommerce/fix/1645
...
Use array_replace in order item apply_changes
2017-08-15 09:59:02 +01:00
claudiulodro
2eb107b0af
Add 5.2 fallback
2017-08-14 11:45:54 -07:00
claudiulodro
ae80d12d80
Merge master
2017-08-14 11:12:09 -07:00
Claudiu Lodromanean
f3bf4a8cb1
Merge pull request #16449 from woocommerce/apply-discount-todos
...
Calculate coupon taxes in order class
2017-08-14 11:08:05 -07:00
Claudiu Lodromanean
28c5af4922
Merge pull request #16440 from woocommerce/fix/16422
...
Adjust coupon user limit logic
2017-08-14 10:24:51 -07:00
Claudiu Lodromanean
1f2891cfd3
Merge pull request #16439 from woocommerce/fix/16432
...
Switch CLI tools command over to v2 API
2017-08-14 10:04:02 -07:00
Claudiu Lodromanean
f0126852a5
Merge pull request #16438 from woocommerce/fix/16405
...
Add error handling for wp_insert_term
2017-08-14 10:01:22 -07:00
Rami Yushuvaev
17d10b3e9f
i18n: Fix some translation strings ( #16441 )
...
* i18n: permissions -> permission
* i18n: permissions -> permission
2017-08-14 17:25:08 +01:00
Mike Jolley
33be0b5741
Remove todos
2017-08-14 16:44:59 +01:00
Mike Jolley
be11c1089f
Fix tests
2017-08-14 16:03:50 +01:00
Mike Jolley
7ddfe0703b
Store coupon item taxes
2017-08-14 15:57:51 +01:00
Mike Jolley
c74835ec31
Use WP_User_Query
2017-08-14 12:51:04 +01:00
Mike Jolley
40757ddf86
Search given email against all user fields for matches.
2017-08-14 12:28:19 +01:00
Mike Jolley
6f4fd61a4f
Do not check if logged in
2017-08-14 12:28:03 +01:00
Mike Jolley
147a7f9419
Switch CLI tools command over to v2 API
...
Closes #16432
2017-08-14 10:45:44 +01:00
Mike Jolley
423d46f864
Merge pull request #16434 from ramiy/patch-1
...
Remove redundant CSS
2017-08-14 10:42:05 +01:00
Mike Jolley
c63e94d299
Add error handling for wp_insert_term
...
Fixes #16405
2017-08-14 10:40:00 +01:00
Rami Yushuvaev
f12ac58932
Remove redundant CSS
...
The `nav.woo-nav-tab-wrapper` CSS rule overrides WordPress core rule with the same CSS.
We can remove that from WooCommerce.
2017-08-13 22:38:54 +03:00
Mike Jolley
a7f6d49f16
Merge pull request #16421 from bekarice/fix/shipping-availability-filters
...
Pass WC_Shipping_Method instance to availability filters
2017-08-13 11:19:42 +01:00
Nikolay Yordanov
96b4467179
Prevent infinite recursion in WC_Post_Data::variation_post_link()
...
If a variation's parent doesn't exist, WC_Product_Variation::get_parent_id()
will return 0, which causes WC_Post_Data::variation_post_link()
to enter into an infinite recursion trying to get the permalink
of the nonexistent parent
2017-08-12 11:26:32 +01:00
Claudio Sanches
4d87f94622
Merge pull request #16408 from woocommerce/fix/16398
...
CSV Import; correctly set stock props.
2017-08-11 21:49:20 -03:00
Claudio Sanches
b8b9ae41f0
Fixed importer unit tests
2017-08-11 21:46:51 -03:00
Jeroen Sormani
607cd878e0
Settings parent construct ( #16412 )
...
* Miscellaneous cleanup of typos + change some return types for IDE helpers
* Call/use parent::__construct() to add filters for settings output, saving
2017-08-11 21:36:35 -03:00
Claudio Sanches
2ffc09de0d
Merge pull request #16411 from woocommerce/fix/16306
...
Don't subtract negative taxes in net sales report
2017-08-11 21:30:25 -03:00
claudiulodro
b99ed2228c
No array_replace in WP or PHP 5.2
2017-08-11 14:11:46 -07:00
Beka Rice
c54b0ecd9d
Pass WC_Shipping_Method instance to availability filters
2017-08-11 16:36:18 -04:00
claudiulodro
837e7e1ed2
Use array_replace in order item apply_changes
2017-08-11 13:24:43 -07:00