Commit Graph

36186 Commits

Author SHA1 Message Date
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
Daniel Morell 252128026f
Fixed $columns type in docblock 2020-08-21 12:55:28 -05:00
Ramon 7610e1311e
Ensure that the return of get_the_terms is not a WP error 2020-08-21 14:07:26 -03:00
Tam Mullen 9b9ebc396a
Merge pull request #27440 from woocommerce/fix/e2e-obw-remove-composite-products
Updating e2e tests for OBW changes
2020-08-21 17:42:40 +01:00
Tam Mullen b41bd5139d Updating e2e test for OBW changes 2020-08-21 16:03:02 +01:00
Gerhard 67806f3ddb Tweak site broke copy 2020-08-21 10:55:27 +02:00
Gerhard f70f4f51a0 Remove extra blank lines 2020-08-21 10:37:08 +02:00
George Jipa d91574b7e1 remove duplicate apply_filter 2020-08-21 11:36:03 +03:00
Gerhard 1df3d1e22a Update readme description section 2020-08-21 10:26:50 +02:00
Gerhard 3a65700f73 Update wp.org listing screenshots 2020-08-21 09:36:25 +02:00
Néstor Soriano a81aa50c03
Merge pull request #27426 from woocommerce/fix/27381
Updated priority of admin_body_class filter
2020-08-21 09:15:00 +02: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
jonathansadowski e8884c85db
Merge pull request #27431 from woocommerce/update/readme-contributors
Update contributors in readme to add sadowski
2020-08-20 13:25:11 -05:00
Jonathan Sadowski b48a29d911 Update contributors in readme to add sadowski 2020-08-20 13:23:49 -05:00
Claudio Sanches d8d608da47
Merge pull request #27430 from woocommerce/update/package-json-4-5-release
Update the package-lock.json from running npm install during 4.5 beta release
2020-08-20 14:52:25 -03:00
Jonathan Sadowski 3a54daa73d Update the package-lock.json from running npm install during 4.5 beta release 2020-08-20 12:39:50 -05:00
jonathansadowski 7a1161495a
Merge pull request #27427 from woocommerce/update/release-changelog-and-version-numbers
Prepare 4.5 Beta 1 Release
2020-08-20 12:09:35 -05:00
Jonathan Sadowski f405863fe8 Add formatting to filter names in readme and changelog; Fix error with filter line in readme. 2020-08-20 11:59:27 -05:00
Jonathan Sadowski f8d2629e22 Update filter change to dev in readme and changelog 2020-08-20 11:53:50 -05:00
Jonathan Sadowski e8dba4bbf9 Prepare 4.5 Beta 1 Release 2020-08-20 11:38:56 -05:00
Claudio Sanches af357e9177 Updated priority of admin_body_class filter 2020-08-20 13:18:23 -03: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
Claudio Sanches 47aaac8600 Introduced wc_asort_by_locale() function 2020-08-19 20:22:18 -03:00
Claudio Sanches e547cb84e5 Reverted changes on wc_ascii_uasort_comparison 2020-08-19 20:02:14 -03:00
Claudio Sanches 3f0db49688 Use PHP Collator if available to sort countries 2020-08-19 19:00:42 -03:00
Claudio Sanches b5221ab479 Added unit tests for changes in wc_ascii_uasort_comparison 2020-08-19 19:00:18 -03:00
Claudio Sanches 74e94f86d0 Use WP remove_accents() instead of iconv 2020-08-19 18:58:45 -03:00
jonathansadowski 0699022a46
Merge pull request #27312 from woocommerce/add/woorelease-support
Add Woo Release script support
2020-08-19 14:13:07 -05:00
Claudio Sanches 2183a58e3b Introduced npm run build:dev command 2020-08-19 15:57:06 -03:00
Claudio Sanches 28f493ba16 Only build assets and packages on e2e tests 2020-08-19 15:49:08 -03:00
Peter Fabian e0d283c7b8
Merge pull request #27405 from woocommerce/fix/paypal-fieldlocale-undefined
Additional protection for fieldlocale
2020-08-19 18:11:02 +02:00
Claudio Sanches ca66a77079 Build packages twice again 2020-08-19 12:11:45 -03:00
Claudio Sanches 681638be95 Updated version to 4.5.0 2020-08-19 12:11:17 -03:00
vedanshujain f74d2241f5 Additional protection for fieldlocale 2020-08-19 20:41:11 +05:30
Claudio Sanches 98d5f52de2 Merge branch 'master' into add/woorelease-support 2020-08-19 12:10:15 -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
Peter Fabian 32fec53dbe
Merge pull request #27398 from woocommerce/preparation/4.4.1
Preparation for 4.4.1 release
2020-08-19 13:36:32 +02:00
Nestor Soriano 745272417c Preparation for 4.4.1 release.
- Add changelog to changelog.txt and readme.txt
- Change stable version to 4.4.1 in readme.txt
2020-08-19 12:47:52 +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
Nestor Soriano 4058371b07 Add a notice in readme about the DI being disabled 2020-08-19 11:31:02 +02:00
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
Christopher Allford 358db5dc3e Removed the internals of the Container pending package conflict resolution
Since reverting the PR at this point would be a mess I've gone ahead and removed the internals of the container. We should aim to keep the class since it's now part of our public API but it won't work as expected anymore. This is fine for now since we don't actually have anything in it!
2020-08-18 20:39:48 -07:00
Claudio Sanches 9518230304 Updated changelog.txt with latest changes 2020-08-18 18:02:30 -03:00
Claudio Sanches 9773675b8d Merge branch 'master' into add/woorelease-support 2020-08-18 17:59:47 -03:00
Jonathan Sadowski 6bafef2041 Foreign key check 2020-08-18 13:44:29 -05:00
Albert Juhé Lluveras cf0ce1b14f Remove no longer necessary property 2020-08-18 19:23:29 +02:00
Albert Juhé Lluveras ea52558086 Twenty Twenty: show notice buttons on the right. Fixes #27386 2020-08-18 19:20:33 +02:00
Albert Juhé Lluveras 3ee608aee8 Twenty Twenty: list error notices vertically. Fix #27385 2020-08-18 19:19:31 +02:00