Romario
67a178f4f7
Replace 'DIRECTORY_SEPARATOR' with '/'
2020-08-26 15:50:34 -05:00
Romario
3b90d99d44
Change 'dirname( __FILE__ )' to '__DIR__ ' and include '/'
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-08-26 14:58:22 -05:00
Romario
acfb3e5dfd
Add spacing between '$dir 'and '.'
2020-08-21 15:25:21 -05:00
Romario
073c63c9c4
Replace dirname with __DIR__ and add DIRECTORY_SEPARATOR
...
Previously 'dirname( __FILE__ )' was used to import files, however, the directory separator was missing.
This commit replaces 'dirname( __FILE__ )' that was introduced in 5370d02484
with __DIR__ and added DIRECTORY_SEPARATOR
2020-08-21 15:16:26 -05:00
Romario
5370d02484
Change relative include paths to absolute include paths
...
Relative include paths in PHP can break whenever the server is running opcache. As such, WordPress.com deploy system refuses to include WooCommerce because of that issue.
This commit changes the relative include paths to absolute include paths.
Relates to #27269
2020-08-20 15:32:04 -05:00
Ron Rennick
51afe3207a
Merge pull request #27023 from HikeMike/add/hidden-form-field
...
"Hidden" field type added to woocommerce_form_field() #26468
2020-08-20 11:48:26 -03:00
Peter Fabian
14d5025cae
Merge pull request #27395 from woocommerce/fix/container-conflict
...
Removed internals of DI Container
2020-08-19 13:37:48 +02:00
Nestor Soriano
c37771521a
Remove call_function, call_static, get_instance_of from class-woocommerce.php
2020-08-19 12:08:54 +02:00
Vedanshu Jain
134875988f
Merge pull request #27396 from woocommerce/fix/4.4.0
...
Add protection to run adjust methods only if product query.
2020-08-19 15:28:04 +05:30
vedanshujain
ae361ed06f
Add protection to run adjust methods only if product query.
2020-08-19 13:31:57 +05:30
Christopher Allford
82df4b3303
Removed the contents of the WC() global container helpers
2020-08-18 20:45:34 -07:00
Jonathan Sadowski
6bafef2041
Foreign key check
2020-08-18 13:44:29 -05:00
Claudio Sanches
37291abc54
Added since tag in new filters introduced in 4.5
2020-08-17 18:01:41 -03:00
Claudio Sanches
e102ec3d83
Merge branch 'master' into fix/25133
2020-08-17 14:59:49 -03:00
Claudio Sanches
5c4d42b9de
Merge pull request #27059 from masteradhoc/masteradhoc-postcode-liechtenstein
...
add postcode validation for country liechtenstein
2020-08-14 15:40:30 -03:00
jonathansadowski
4fd7f55357
Merge pull request #26928 from khosroblog/master
...
get_review_count_for_product return all comments count not only 'review' types !!!
2020-08-14 13:40:01 -05:00
Claudio Sanches
fdf5fe8614
Merge pull request #27323 from woocommerce/fix/27288
...
switch to site locale before translating refund reason
2020-08-14 15:30:56 -03:00
Néstor Soriano
f8ea11a607
Merge pull request #27145 from woocommerce/fix/26006
...
Fixed "virtual" and "downlodable" pointers on product walkthrough
2020-08-14 08:55:53 +02:00
Vedanshu Jain
a887cd7369
Merge pull request #27318 from woocommerce/fix/27282
...
Change data-type from mixed to composite and date-time to string on the fly for REST API
2020-08-13 21:25:11 +05:30
Ron Rennick
38d358490b
switch to site locale before translating refund reason
2020-08-13 10:32:19 -03:00
vedanshujain
4b1ebea800
Also allow null for date-time for BW
2020-08-13 16:49:44 +05:30
vedanshujain
3dd508fd35
Address review comments
2020-08-13 16:36:27 +05:30
vedanshujain
a4691dc3f3
Set type to mixed to be compatible with 5.4.
...
This prop was missed in an earlier commit.
2020-08-13 15:47:18 +05:30
vedanshujain
5c0be2a715
Give preference to null data-type over others
2020-08-13 14:17:48 +05:30
vedanshujain
147c9baf4f
Change `mixed` data type to composite for compatibility with 5.5
2020-08-13 13:30:39 +05:30
Néstor Soriano
4c636b1d5c
Merge pull request #27303 from woocommerce/fix/travis-coding-standards-test
...
Fix coding standards test on Travis
2020-08-13 09:19:13 +02:00
Claudio Sanches
070e3896cf
Restored pointers position
2020-08-12 21:46:36 -03:00
jonathansadowski
0125eca73c
Merge pull request #27244 from jgreys/fix/27108
...
Fix Japan zip code format issue #27108
2020-08-12 16:56:48 -05:00
Christopher Allford
7340c9af44
Merge pull request #27171 from woocommerce/fix/25543
...
Added the parent's SKU to product searches for variations
2020-08-12 12:58:00 -07:00
vedanshujain
083e529668
Revert "Fix compatibility for WP 5.5"
...
This reverts commit cc96f6bbd1
.
2020-08-12 19:31:40 +05:30
Claudio Sanches
6f6a84199f
Merge branch 'master' into fix/26006
2020-08-11 20:17:31 -03:00
Claudio Sanches
df4aa12f21
Fixed coding standards to make trigger a test on Travis
2020-08-11 20:11:07 -03:00
Claudio Sanches
29bc98816e
Merge pull request #27143 from woocommerce/fix/26876
...
Fix "Hide shipping costs until an address is entered"
2020-08-11 20:06:17 -03:00
Ron Rennick
8a1b8d6a3d
Merge pull request #26439 from kevinruscoe/add-additional-stock-cart-filter-messages
...
Add additional cart filters for stock actions
2020-08-10 16:34:24 -03:00
Ron Rennick
0b0595ab4c
Merge pull request #27048 from vallter2/postcode-bih
...
Add postcode validation for Bosnia and Herzegovina
2020-08-10 16:24:06 -03:00
Claudio Sanches
02cf0dfaed
Merge pull request #27239 from woocommerce/fix/package-tag
...
Fix usage of "package" tag in file headers
2020-08-07 13:37:24 -03:00
Claudio Sanches
def2ef499c
Master is 4.5.0 now
2020-08-07 12:55:51 -03:00
Néstor Soriano
459dd3fbf2
Merge pull request #27251 from woocommerce/fix/27226
...
Added woocommerce_order_item_quantity filter to ReserveStock::reserve_stock_for_order
2020-08-07 16:11:43 +02:00
Néstor Soriano
76cf1e4e93
Merge pull request #27140 from woocommerce/fix/23790
...
Always sanitize coupon code to prevent inconsistent between admins and shop owners
2020-08-07 12:42:02 +02:00
Néstor Soriano
a13a0d2187
Merge pull request #27179 from woocommerce/fix/26741
...
Release coupon holds when status it updated to cancelled regardless of recorded coupons
2020-08-07 11:27:45 +02:00
Claudio Sanches
2d2e40c484
Applied woocommerce_order_item_quantity to ReserveStock
2020-08-06 14:15:50 -03:00
vedanshujain
1966b0ba9a
Changed textdomain since API is merged into core now.
2020-08-06 18:18:18 +05:30
vedanshujain
cc96f6bbd1
Fix compatibility for WP 5.5
2020-08-06 14:34:03 +05:30
vedanshujain
1526771eaa
Load from Server class if available
2020-08-06 14:34:02 +05:30
vedanshujain
55a9687e6d
Make api included structure more linear.
2020-08-06 14:34:02 +05:30
vedanshujain
1d782f025e
Deprecate API Package class because its not a package anymore.
2020-08-06 14:34:02 +05:30
vedanshujain
16473d54e9
Fixes for correct time of loading API
2020-08-06 14:34:02 +05:30
vedanshujain
4a4767ae93
Load API files.
2020-08-06 14:34:02 +05:30
vedanshujain
222852dea6
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2020-08-06 14:06:29 +05:30
GREYS
feb291e2ee
Fix for issue #27108
2020-08-06 17:11:44 +09:00