Boro Sitnikovski
9022261f13
Fix cache issue.
...
From discussion with @mikejolley:
The class is not doing its job of invaliding cache after adding a line item.
At any point (action hook), a 3pd can call `get_items` and it will cache the items for that particular order so any subsequent calls to it will return bad data.
Unless you ADD items, `get_items` will return good data.
So adding items in this case is not invalidating, so that's the bug.
Relates to: https://github.com/woocommerce/woocommerce-bookings/issues/1310
2017-08-07 15:29:17 +02:00
Mike Jolley
c90b96acb3
Merge pull request #16359 from woocommerce/fix/fatal-on-deleting-refunded-order
...
Fix fatal error on deleting refunded order
2017-08-07 14:12:17 +01:00
Mike Jolley
d46988b6a6
Improve add payment method logic
2017-08-07 12:39:16 +01:00
Mike Jolley
dc1c8843a1
Correct escaping
2017-08-07 12:39:08 +01:00
Mike Jolley
847e4859f8
Include add_payment_method in gateway abstract
2017-08-07 12:38:50 +01:00
Mike Jolley
862f67d98b
wc_get_var helper method
2017-08-07 11:02:19 +01:00
Mike Jolley
e2839d3c09
Add nocache_headers to early update actions
2017-08-07 11:02:02 +01:00
Mike Jolley
af1dce3544
Set nocache constants on all nocache_headers
2017-08-07 11:01:38 +01:00
Boro Sitnikovski
d1dc2a4390
Fix fatal error on deleting refunded order
2017-08-07 11:38:10 +02:00
Mike Jolley
7b87eb65ca
Merge pull request #16356 from jostrander/patch-2
...
Fix typo in login-form.php template.
2017-08-06 20:37:15 +01:00
Mike Jolley
2b0a672ba7
Merge pull request #16348 from jamesckemp/patch-6
...
Add sorting ID and menu orders to sorting action
2017-08-06 20:36:34 +01:00
Jesse Ostrander
e07dae3005
Fix typo in the global form-login.php
2017-08-06 12:40:54 -04:00
Jesse Ostrander
393abc9619
Fix typo in login-form.php template.
...
Woocomerce -> woocommerce
2017-08-06 12:16:46 -04:00
Patrick Garman
1314158a14
Add “site size” areas to system status report
...
The size of the site very much impacts the status of the site. This type of information would be extremely helpful when supporting a site.
1) post counts - can reveal high volumes of specific kinds of post types both within WC (orders, products, etc) or outside (revisions, attachments, third party ones, etc)
2) table sizes - a site with a 5MB postmeta table is very different than a site with a 5GB postmeta table, which is different than a site with a 50GB postmeta table, and require different kinds of support and focus.
2017-08-06 01:15:10 -04:00
Mike Jolley
48a1223dbb
Merge pull request #16346 from woocommerce/fix/16319
...
Use correct server variable
2017-08-05 15:10:29 +01:00
James Kemp
8ebe8a1720
Add sorting ID and menu orders to sorting action
2017-08-05 12:05:47 +01:00
claudiulodro
48f03b15ed
Use correct server variable
2017-08-04 14:27:22 -07:00
claudiulodro
10fd50473b
Further accessibility improvements
2017-08-04 14:08:47 -07:00
claudiulodro
c634ac6cf1
Prevent auto updates if dangerous.
2017-08-03 11:42:19 -07:00
Claudiu Lodromanean
ab543148ff
Merge pull request #16335 from woocommerce/fix/16309
...
Add shortcode to description output in structured data
2017-08-03 11:09:16 -07:00
sergey.r
62d078edf5
Add filters to make possible send emails in language different from default
2017-08-03 14:58:44 +03:00
ragulka
fdd0e556e7
Focus on modal content instead of container
...
Prevent unwanted jumps in page scroll position when opening a modal.
2017-08-03 14:32:15 +03:00
Mike Jolley
958bd092ba
Add date/time to hover.
...
Closes #16331
2017-08-03 08:48:17 +02:00
Mike Jolley
6af275da6e
Only return tax classes if product is taxable.
...
Fixes #16241
2017-08-03 08:44:02 +02:00
Mike Jolley
827083c051
Add shortcode to description output in structured data
...
Closes #16309
2017-08-03 08:28:35 +02:00
Mike Jolley
52b10d8be4
Merge pull request #16313 from opportus/master
...
Fixes #16010
2017-08-03 08:24:12 +02:00
Mike Jolley
d79ebf7a2f
Typo in tag text, fixes #16332
2017-08-03 08:19:57 +02:00
Mike Jolley
39af6fbe94
Add precision to price filter
...
Closes #16253
2017-08-03 08:17:23 +02:00
Mike Jolley
cbb8d48f5f
Merge pull request #16291 from woocommerce/improvement/13645
...
Product search helpers.
2017-08-03 08:03:37 +02:00
Mike Jolley
859169a19e
Merge pull request #16330 from woocommerce/fix/16318
...
Fix dark theme readability
2017-08-03 08:00:21 +02:00
claudiulodro
338f51df31
Remove duplicate class
2017-08-02 14:59:01 -07:00
claudiulodro
7f614d17d4
Modularize to corral different areas better
2017-08-02 14:57:17 -07:00
claudiulodro
ce25737026
Remove test for method that doesnt exist any more
2017-08-02 13:37:27 -07:00
Claudiu Lodromanean
9bfd21365e
Merge pull request #16324 from woocommerce/improvement/versions-bulk
...
Updates screen modal.
2017-08-02 12:01:42 -07:00
claudiulodro
9a1eaab449
Add test for 16305
2017-08-02 11:41:52 -07:00
claudiulodro
80708255ee
Fix inc tax price calculation
2017-08-02 11:07:33 -07:00
claudiulodro
d07ececd3f
Fix dark theme readability
2017-08-02 08:41:53 -07:00
claudiulodro
7c0afc1fed
Comments
2017-08-01 15:24:15 -07:00
claudiulodro
9b22463c69
Little cleanup
2017-08-01 15:17:35 -07:00
claudiulodro
343b3913a4
Updates screen modal.
2017-08-01 15:04:11 -07:00
claudiulodro
91f1d41842
Clarify logic
2017-08-01 13:21:23 -07:00
claudiulodro
5e8f957f3a
Formatting
2017-08-01 12:52:12 -07:00
Claudiu Lodromanean
46090bca0d
Merge pull request #16302 from bekarice/fix/deprecation-notice-product-type
...
Fix PHP deprecation notice
2017-08-01 10:55:48 -07:00
Claudiu Lodromanean
8fafaac16d
Merge pull request #16311 from woocommerce/fix/16235
...
Defer re-calc when adding grouped products to cart
2017-08-01 10:54:33 -07:00
Claudiu Lodromanean
b6368348aa
Merge pull request #16307 from woocommerce/fix/16236
...
Passing by reference breaks global functions in grouped template
2017-08-01 10:47:48 -07:00
opportus
f448c692ca
Fixes #16010
...
Allows single SD item having a `@context`
2017-08-01 14:32:40 +02:00
Mike Jolley
4a0ea16eda
Defer re-calc when adding grouped products to cart
...
Closes #16235
2017-08-01 13:36:46 +02:00
Mike Jolley
2b9c8677eb
Passing by reference breaks global functions in grouped template
...
Fixes #16236
2017-08-01 08:44:16 +02:00
claudiulodro
036d709b19
Use item subtotal for discount item price
2017-07-31 14:44:51 -07:00
Beka Rice
e78b4d4d1e
Fix PHP deprecation notice
2017-07-31 17:16:08 -04:00