Claudio Sanches
1e992cfad7
Merge pull request #24156 from woocommerce/update/min-wp-version
...
Bump WP minimum version.
2019-07-15 15:16:02 -03:00
Gerhard
9a72ba5cab
Bump WP minimum version.
2019-07-15 19:39:12 +02:00
Gerhard Potgieter
3958e347cd
Merge pull request #24123 from woocommerce/add/wccom-site-rest-api
...
Add WCCOM Site REST API
2019-07-15 19:34:14 +02:00
Claudio Sanches
1f77efae4b
Don't use WP_REST_Server::get_raw_data() inside REST API endpoints
2019-07-15 13:30:17 -03:00
Claudio Sanches
eac2d39edf
Better naming for REST API endpoints
2019-07-15 13:19:03 -03:00
Claudio Sanches
3fd0eb7391
Merge branch 'add/wccom-site-rest-api' of github.com:woocommerce/woocommerce into add/wccom-site-rest-api
2019-07-15 13:13:53 -03:00
Claudio Sanches
396bbe4cf5
Fixed doc blocks and coding standards
2019-07-15 13:13:16 -03:00
Akeda Bagus
3f9bbf5a3b
Replace __DIR__ with WC_ABSPATH.
2019-07-15 23:07:34 +07:00
Claudio Sanches
d339a29468
Fixed standards
2019-07-15 12:58:41 -03:00
Claudio Sanches
73f27d030b
Use trailingslashit
2019-07-15 12:57:16 -03:00
Akeda Bagus
c8812a205b
Add helper method get_authorization_header.
...
This to support scenario in which HTTP_AUTHORIZATION being stripped
and use getallheaders as a fallback. This helper method is copied from
class-wc-rest-authentication.php.
2019-07-15 22:47:07 +07:00
Akeda Bagus
47db7588d7
Use hash_equals when checking access_token.
2019-07-15 22:03:31 +07:00
Akeda Bagus
0ffd4db630
Move authentication to WCCOM Site API to wccom-site main class.
2019-07-15 21:59:48 +07:00
Akeda Bagus
20325f2db6
Remove duplicate state download_link in favor of download_url.
2019-07-15 21:41:53 +07:00
Akeda Bagus
0891e0c85f
Remove extra docblock line.
2019-07-15 18:45:50 +07:00
Akeda Bagus
45bf842ea3
Add @ since tag.
2019-07-15 18:44:51 +07:00
Akeda Bagus
284239ee44
Replace SERVER['REQUEST_URI'] in favor of add_query_arg.
2019-07-15 18:28:33 +07:00
Gerhard Potgieter
620bde01e4
Merge pull request #24151 from woocommerce/fix/jshint-error-fix
...
Fixed jshint problems
2019-07-15 13:12:17 +02:00
Peter Fabian
2f19640ce1
Fixed jshint problems.
2019-07-15 12:59:06 +02:00
Peter Fabian
1e43a2f9e3
Merge pull request #24145 from woocommerce/add/new-cart-hooks
...
New hooks for cart and minicart templates
2019-07-15 12:22:31 +02:00
Peter Fabian
f230452caf
Merge pull request #24146 from woocommerce/fix/get_formatted_shipping_address
...
WC_Order::get_formatted_shipping_address refactor
2019-07-15 11:53:59 +02:00
Peter Fabian
cb9d94ed9b
Merge pull request #24147 from woocommerce/revert-23705-fix/23696
...
Revert "Prevent negative prices on products"
2019-07-15 11:28:25 +02:00
Akeda Bagus
f51265e58d
Add @since tag.
2019-07-15 15:42:36 +07:00
Akeda Bagus
59a5c6d754
Disable few phpcs rules instead of all.
2019-07-15 15:17:40 +07:00
Gerhard Potgieter
043fd478bc
Merge pull request #23687 from rekkitatu/master
...
Delete guest cart session if user logs in, solves #23686
2019-07-15 09:54:39 +02:00
Gerhard Potgieter
7c0d0251ee
Merge pull request #23883 from woocommerce/add/new-edit-order-tracks
...
Track more events on the edit order screen for future design validation.
2019-07-15 09:36:01 +02:00
Gerhard Potgieter
aa706fd68f
Merge pull request #24075 from woocommerce/add/in-app-purchase-params
...
Add in-app-purchase params to extensions screen & suggestions
2019-07-15 09:18:51 +02:00
Gerhard Potgieter
238a5576d0
Merge pull request #24139 from woocommerce/fix/failing-e2e-timeouts
...
Be sure to run grunt in travis
2019-07-15 09:07:36 +02:00
Gerhard Potgieter
52f1eb4060
Revert "Prevent negative prices on products"
2019-07-15 08:50:11 +02:00
haszari
dab7cb328a
use add_query_arg to determine current page url
2019-07-15 18:07:57 +12:00
haszari
f97fa34c01
rename button style param/variable for clarity
2019-07-15 08:50:08 +12:00
Gerhard Potgieter
556a238dfb
Merge pull request #24021 from AndyMardell/feature/allow-notice-type-changes
...
Allow notice type changes when updating cart contents
2019-07-14 21:06:20 +02:00
Gerhard Potgieter
7918dd4de1
Merge pull request #24114 from liquidweb/fix/composer-platform-version
...
Explicitly declare PHP version requirements and platform defaults
2019-07-14 21:03:37 +02:00
Gerhard
fe2d46799f
This PR reworks the intention of #23859 which causes failing unit tests due to $this->get_address( 'shipping' ) always returning an array even when no shipping address is present.
2019-07-14 20:34:30 +02:00
Gerhard Potgieter
6693b44a98
Merge pull request #23859 from RistoNiinemets/master
...
Allow filtering formatted shipping address
2019-07-14 20:24:44 +02:00
Gerhard Potgieter
f9697eb03e
Merge pull request #24034 from woocommerce/fix/23508
...
Fix: check if DB_NAME is defined before using it
2019-07-14 19:54:04 +02:00
Gerhard Potgieter
eee56a254f
Merge pull request #23479 from parmarhardip/23381
...
enhance #23381 Prevent the Cart, checkout and my account page from be…
2019-07-14 19:49:37 +02:00
Gerhard
6e4e818170
Introduce woocommerce_widget_shopping_cart_subtotal function and move minicart template subtotal to use it. New woocommerce_before_cart_collaterals, woocommerce_widget_shopping_cart_total and woocommerce_widget_shopping_cart_after_buttons actions for making the cart and mini cart templates more flexible without having to override it.
2019-07-14 19:27:42 +02:00
Gerhard Potgieter
60b385ea93
Merge pull request #23268 from Spreeuw/patch-8
...
store tax rate percent in tax line items
2019-07-14 18:42:10 +02:00
Gerhard
5d946c8ade
Restore other jobs
2019-07-14 17:57:55 +02:00
Gerhard
e5ae8f10ae
Update e2e test for variations to accomodate new missing price message on variations.
2019-07-14 17:47:30 +02:00
Gerhard
0e50e2319c
Cleaning up
2019-07-14 17:16:31 +02:00
Gerhard
712969981c
Remove extra folder
2019-07-14 17:04:59 +02:00
Gerhard
689d66dae3
npm install, debugging info
2019-07-14 17:01:38 +02:00
Gerhard
d3cc901612
Params needs to be first
2019-07-14 16:56:07 +02:00
Gerhard
abee4e68c2
Use TRAVIS_BUILD_DIR constant
2019-07-14 16:17:57 +02:00
Gerhard
a04f182edb
Do not install branch from zip, rather used checked out copy instead.
2019-07-14 16:12:16 +02:00
Gerhard
ba1b684f33
Plugin folder auto renamed to woocommerce
2019-07-14 15:57:11 +02:00
Tatu
ed7f98a584
Coding standards fix
2019-07-12 23:18:29 +03:00
Tatu
d9254cedb2
Prevent conflict with multiple logged in users
...
Previous code would delete the session of previously logged in user in the rare case that multiple users would be logged in on the same browser. Added check to see if there is user account exists with the old_session_key and if not then the old session is from a guest user which can be deleted from database during logging in. Also returned old_session_key as optional parameter to prevent issues.
2019-07-12 22:53:01 +03:00