Claudio Sanches
a8ac58add0
Merge pull request #27193 from masteradhoc/masteradhoc-i18n-locale-for-li-ch
...
Add i18n locale information for Liechtenstein, Switzerland & Austria
2020-08-04 11:00:47 -03:00
Claudio Sanches
f5925d4465
Merge pull request #27196 from woocommerce/renovate/autoprefixer-9.x
...
Update dependency autoprefixer to v9.8.6
2020-08-04 10:59:24 -03:00
Claudio Sanches
d5943d6c6f
Merge pull request #27198 from woocommerce/renovate/grunt-1.x
...
Update dependency grunt to v1.2.1
2020-08-04 10:58:56 -03:00
Néstor Soriano
259a17ea5f
Merge pull request #27207 from woocommerce/preparation/4.4-RC.1
...
Preparation for 4.4 RC.1 release
2020-08-04 11:57:52 +02:00
Nestor Soriano
7d9f86c8cd
Add changelog for Admin 1.4.0-beta.3
2020-08-04 11:33:15 +02:00
Nestor Soriano
1279b2cc57
Bump version name in woocommerce.php to 4.5.0-dev
2020-08-04 11:33:02 +02:00
Nestor Soriano
56f8cda645
Add extra changelog entries for 4.4 RC 1
2020-08-04 11:02:30 +02:00
Nestor Soriano
213137bc8c
Add one more changelog entry for Admin
2020-08-04 10:59:58 +02:00
Nestor Soriano
df527a19dd
Add the changelog for v4.4 to readme.txt
2020-08-04 10:59:58 +02:00
Nestor Soriano
4d67ac9201
Update version in woocommerce.php to 4.4.0-beta.1
2020-08-04 10:59:58 +02:00
Nestor Soriano
a3a2099315
Add changelog for v4.4
2020-08-04 10:59:55 +02:00
Néstor Soriano
a8979fedd9
Merge pull request #27214 from woocommerce/update/woocommerce-admin/1.4.0-beta.3
...
Update woocommerce-admin to 1.4.0-beta.3
2020-08-04 10:43:26 +02:00
Néstor Soriano
ee19f36498
Merge pull request #27216 from woocommerce/update/changelog-4.3.1
...
Added missing changelog for 4.3.1 to default branch
2020-08-04 10:29:18 +02:00
Peter Fabian
9e37acff39
Added missing changelog for 4.3.1
2020-08-04 10:28:06 +02:00
Timmy Crawford
d55fa5ea0a
Update woocommerce-admin to 1.4.0-rc.3
2020-08-03 23:35:10 -07:00
Néstor Soriano
54390bb094
Merge pull request #27185 from woocommerce/fix/jetpack-autoloader-constant
...
Removed the define for the `JETPACK_AUTOLOAD_DEV` constant
2020-08-04 08:25:15 +02:00
Néstor Soriano
1f59f7f798
Merge pull request #27205 from woocommerce/tweak_get_available_variations
...
Remove duplicate `get_available_variations()` function argument
2020-08-03 16:52:43 +02:00
Nestor Soriano
200599f8e0
Add unit tests for the type of the value returned by 'get_available_variations'
2020-08-03 16:30:54 +02:00
James Allan
d1c0f7774b
Remove duplicate function argument
2020-08-03 14:45:03 +10:00
Renovate Bot
486b9f3a4d
Update dependency grunt to v1.2.1
2020-08-01 02:57:34 +00:00
Renovate Bot
4a4e5c3250
Update dependency autoprefixer to v9.8.6
2020-08-01 01:39:02 +00:00
Brian
8ab4596861
Update locale-info.php
2020-08-01 00:38:19 +02:00
Brian
2dcfc4248c
Update class-wc-countries.php
2020-08-01 00:28:08 +02:00
Brian
1d408a1a17
Update states.php
2020-08-01 00:26:53 +02:00
Brian
f363604f4e
add locale info
...
for switzerland and liechtenstein
2020-08-01 00:23:49 +02:00
Néstor Soriano
b02a14c5bc
Merge pull request #27190 from woocommerce/fix/no-pagination-controls
...
Fix: pagination controls not displaying in products list
2020-07-31 17:15:38 +02:00
Nestor Soriano
71fccd6a07
Fix: pagination controls not displaying in products list.
...
This bug was introduced in #26260 . The sequence is:
1. WC_Query::adjust_posts_count runs, to handle found_posts filter,
this indirectly executes wc_setup_loop.
2. At this point $GLOBALS['wp_query']->max_num_pages hasn't been set
yet, and has a value of 0. Thus the loop variable total_pages
is set to 0.
3. Later wc_setup_loop runs again and this time
$GLOBALS['wp_query']->max_num_pages is already set, but since
the loop variable total_pages already exists, it keeps its
value of 0.
4. The pagination controls never show if total_pages is less than 2.
The fix consists of hooking into the_posts to set the value of
total_pages again, at that point $GLOBALS['wp_query']->max_num_pages
is already set.
2020-07-31 16:40:25 +02:00
Néstor Soriano
add9fd791b
Merge pull request #27166 from xristos3490/fix/27163
...
[4.4] Pagination of custom product queries broken
2020-07-31 08:29:24 +02:00
Christopher Allford
5e354c451c
Removed the define for the `JETPACK_AUTOLOAD_DEV` constant
...
This is likely something that should be part of the `wp-config.php` for development environments of feature plugins as opposed to defined here.
2020-07-30 14:55:14 -07:00
Claudio Sanches
c752721c2e
Merge pull request #27183 from woocommerce/fix/unit-tests-2
...
Fixed unit tests for WC_Notes_Run_Db_Update
2020-07-30 17:02:10 -03:00
Claudio Sanches
48974f29f1
Fixed unit tests for WC_Notes_Run_Db_Update
2020-07-30 17:00:11 -03:00
Claudio Sanches
891a0cf8e8
Merge pull request #27170 from woocommerce/fix/27167
...
Fixed - Fixed "Product type" dropdown from Product's data meta box on WP 5.5
2020-07-30 16:38:18 -03:00
Claudio Sanches
cc8282a23f
Merge pull request #27142 from woocommerce/fix/25788
...
Improve order details UI to highlight "Paid" and "Net Payment" sections
2020-07-30 15:49:24 -03:00
Claudio Sanches
608fc8620d
Merge pull request #27172 from woocommerce/fix/27168
...
Let user stay in the same page after clicking to update WooCommerce
2020-07-30 15:48:27 -03:00
Claudio Sanches
2d468a4d27
Merge pull request #27175 from woocommerce/fix/27162
...
Fix incorrect adjustment of post count in WC_Query
2020-07-30 14:33:35 -03:00
Claudio Sanches
77f8bb57a6
Check if there's a payment method title
2020-07-30 13:05:03 -03:00
Claudio Sanches
d51e4d806b
Merge pull request #27153 from woocommerce/fix/distignore
...
Included lerna.json to the .distignore file
2020-07-30 12:57:44 -03:00
Claudio Sanches
90fa418218
Merge pull request #27173 from woocommerce/fix/27169
...
Remove new WP 5.5 meta box arrows
2020-07-30 11:46:21 -03:00
Néstor Soriano
d23a5fd0a9
Merge pull request #27177 from woocommerce/update/woocommerce-blocks-3.1
...
Package Update: Update WooCommerce Blocks to 3.1.0
2020-07-30 16:19:31 +02:00
Néstor Soriano
e44154bf6e
Update tests/legacy/unit-tests/util/class-wc-tests-wc-query.php
...
Fix small coding standards issue.
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-07-30 16:17:05 +02:00
Albert Juhé Lluveras
ba4afe633c
Update woocommerce/woocommerce-blocks to v3.1.0
2020-07-30 11:07:19 +02:00
Nestor Soriano
86c88f1750
Fix: incorrect adjustment of post count in WC_Query.
...
PR #26260 introduced a handler for 'found_posts' filter in WC_Query
class in order to adjust the count depending on the visibility
of variation products. However the handler incorrectly assumed
that the filter was triggered only when listing products, when
actually it's also triggered for any post type e.g. pages.
In these cases the post count was set to zero, which caused bugs.
Now the handler starts with the originally supplied posts count,
and only decrements it when a post is a product AND is not visible.
2020-07-30 09:32:28 +02:00
Claudio Sanches
edaf71b115
Remove new WP 5.5 meta box arrows
2020-07-29 22:04:44 -03:00
Claudio Sanches
3c1132e274
Added unit tests for wc_get_current_admin_url()
2020-07-29 21:02:52 -03:00
Claudio Sanches
a464b7aeab
Improved wc_get_current_admin_url()
...
- Replace "/wp-admin" with regex like on WP core.
- Remove "wc-hide-notice" from query args.
2020-07-29 21:01:39 -03:00
Claudio Sanches
c9f52a45eb
New wc_get_current_admin_url() function
2020-07-29 20:52:36 -03:00
Claudio Sanches
e26076af7b
Return to the current page after enabled or disabling db update notices
2020-07-29 20:37:27 -03:00
Claudio Sanches
d498341f0e
Added function to get current admin page
2020-07-29 20:37:12 -03:00
Claudio Sanches
94f8d2d576
Fixed jQuery selector
2020-07-29 19:21:24 -03:00
Claudio Sanches
97c7937fd9
Fixed "Product type" dropdown on WP 5.5
...
WP 5.5 doesn't introduce a <span> tag inside metaboxes headings
2020-07-29 19:12:02 -03:00