Christopher Allford
33e81654a9
Made the path tokenization deterministic
...
Since the tokens are replaced in a first-discovered first-replaced order, we may accidentally create tokenized paths like '{{ABSPATH}}/test' instead of the desired '{{WP_CONTENT_DIR}}test'. By ordering them according to specificity however, we ensure that we tokenize as much of the path as possible.
2020-04-05 12:41:39 -07:00
Christopher Allford
4aab99614a
Added tests for path tokenization/untokenization
2020-04-05 12:15:39 -07:00
Christopher Allford
e270dfce2e
Extracted the template path tokenization so that it can be applied to more than one define more readily
2020-04-05 12:06:04 -07:00
Christopher Allford
91c608f38e
Merge branch 'master' into refactor/23783
2020-04-05 10:55:00 -07:00
Yoav Farhi
af288e6ae1
make sure the woocommerce-helper rtl css file is loaded
2020-04-05 10:59:32 +03:00
Christopher Allford
e3c120c1d9
Merge pull request #26034 from woocommerce/fix/package-update-error
...
Corrected error messaging on update for expired WooCommerce.com subscriptions
2020-04-03 08:35:46 -07:00
Mike Jolley
0cce3c5c45
Missing abspath check
2020-04-03 16:16:20 +01:00
Mike Jolley
1acae4ef92
woocommerce_payment_complete priority
2020-04-03 15:58:59 +01:00
Mike Jolley
f248902454
Update versions
2020-04-03 15:56:43 +01:00
Mike Jolley
9b5189dc7a
Remove tests for order methods which were removed
2020-04-03 15:55:15 +01:00
Mike Jolley
4faea42c23
Change priorities
2020-04-03 15:55:15 +01:00
Mike Jolley
107879950e
Remove get_query_for_stock as it's part of data-store
2020-04-03 15:55:15 +01:00
Mike Jolley
e965f854d6
Missing class name
2020-04-03 15:55:15 +01:00
Mike Jolley
62e099bd84
Add table schema
2020-04-03 15:55:15 +01:00
Mike Jolley
c983677a6f
Implement stock functions
2020-04-03 15:55:15 +01:00
Mike Jolley
d2d0967ac0
Introduce class to handle stock reservation
2020-04-03 15:55:14 +01:00
Mike Jolley
802fff94c2
Remove stock methods from order class
2020-04-03 15:55:14 +01:00
Mike Jolley
910a13f544
Fire action hooks rather than call stock holding functions directly
2020-04-03 15:55:14 +01:00
Mike Jolley
02cf328afe
Remove check for held stock minutes during stock checks - this will be handled elsewhere
2020-04-03 15:55:14 +01:00
Mike Jolley
51aca598b9
Only implement get_query_for_stock in data store
2020-04-03 15:55:14 +01:00
Mike Jolley
7228d67799
Remove helpers from order functions
2020-04-03 15:55:14 +01:00
vedanshujain
facfb16131
Changed class name to match file name
2020-04-03 15:55:14 +01:00
vedanshujain
3bd34184e4
Fixed bool error on when to disable feature
2020-04-03 15:55:14 +01:00
Claudio Sanches
2ebd86f2dc
Revert "Revert "Add support for '_held_for_checkout` records to prevent race conditions.""
2020-04-03 15:55:13 +01:00
vedanshujain
af810af57a
Add unit test for removing displa:none from emails
2020-04-03 13:49:28 +00:00
vedanshujain
6612d1f859
Prune elements with display none to fix regression.
...
In an earlier emogridier version (til WC 3.9.3) this was happening by
default, however now we have to do this explicitly since we update
emogrifier to > 3.x.
2020-04-03 13:47:04 +00:00
Claudio Sanches
8ab5df1df2
Merge pull request #26061 from woocommerce/renovate/docker-wordpress-5.x
...
Update wordpress Docker tag to v5.4.0
2020-04-02 18:59:47 -03:00
Garrett Hyder
fadb5d0704
Merge branch 'privacy-policy-update' of github.com:garretthyder/woocommerce into privacy-policy-update
2020-04-02 13:11:24 -07:00
Garrett Hyder
a1ea941947
Updated CSS to use branch-5 instead of branch-5-0 after testing. Updated check to include privacy.css to account for core#43895 which reorganized the privacy files.
2020-04-02 13:10:50 -07:00
Claudio Sanches
83609d4844
Improved escaping
2020-04-02 14:25:09 -03:00
Claudio Sanches
f02780e764
Update theme update available message
2020-04-02 14:22:50 -03:00
Claudio Sanches
9345eb3624
Improved dependency and update message style
2020-04-02 14:17:38 -03:00
Claudio Sanches
4df1c65fb0
Merge pull request #25919 from woocommerce/dependabot/npm_and_yarn/acorn-6.4.1
...
Bump acorn from 6.4.0 to 6.4.1
2020-04-02 13:22:12 -03:00
vedanshujain
0af20fe4ef
Add unit test for guest checkout with per user coupon usage limit.
2020-04-02 15:04:57 +00:00
vedanshujain
8adb474149
Enforce per user coupon usage limit for guest user checkout.
...
In a previous commit, a regression was introduced where we were no
longer checking for usage limit of guest user in an install. This
commit adds back that check.
2020-04-02 15:00:06 +00:00
Renovate Bot
cea0b34406
Update wordpress Docker tag to v5.4.0
2020-04-02 01:57:41 +00:00
Garrett Hyder
99279211c5
Merge branch 'master' into privacy-policy-update
2020-04-01 16:37:41 -07:00
Garrett Hyder
89336488e9
Introduced privacy.scss with custom back-compat shim for handling the ul elements of WooCommerce privacy policy content and ensuring consistent styling with the default WordPress content.
2020-04-01 16:32:54 -07:00
dependabot[bot]
84c4420a43
Bump acorn from 6.4.0 to 6.4.1
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-04-01 22:27:54 +00:00
Claudio Sanches
5356fb1bf6
Removed undefined variable
2020-04-01 19:22:44 -03:00
Claudio Sanches
84bf224853
Merge pull request #25883 from liquidweb/fix/travis-against-minimium-requirements
...
Add a Travis CI build using the minimum WooCommerce requirements
2020-04-01 18:51:41 -03:00
Steve Grunwell
17c56d6d12
Merge branch 'master' into fix/travis-against-minimium-requirements
2020-04-01 14:30:42 -04:00
Claudio Sanches
37a949f7bd
Fixed coding standards
2020-04-01 14:56:04 -03:00
Claudio Sanches
13416af9bb
Merge pull request #26046 from woocommerce/renovate/babel-monorepo
...
Update babel monorepo
2020-04-01 14:00:48 -03:00
Claudio Sanches
4724f6c0d2
Merge pull request #26047 from woocommerce/renovate/wordpress-monorepo
...
Update dependency @wordpress/e2e-test-utils to v4.3.1
2020-04-01 13:59:31 -03:00
Renovate Bot
076571bb66
Update dependency @wordpress/e2e-test-utils to v4.3.1
2020-04-01 15:12:54 +00:00
Renovate Bot
b293548d6f
Update babel monorepo
2020-04-01 15:12:00 +00:00
Claudio Sanches
3da67586e3
Merge pull request #26051 from woocommerce/renovate/eslint-plugin-jest-23.x
...
Update dependency eslint-plugin-jest to v23.8.2
2020-04-01 12:08:40 -03:00
Claudio Sanches
3bed22028a
Merge pull request #26048 from woocommerce/renovate/autoprefixer-9.x
...
Update dependency autoprefixer to v9.7.5
2020-04-01 12:08:08 -03:00
Claudio Sanches
69b21b5d0b
Merge pull request #26049 from woocommerce/renovate/config-3.x
...
Update dependency config to v3.3.1
2020-04-01 12:07:33 -03:00