Commit Graph

21550 Commits

Author SHA1 Message Date
jonathansadowski 614ae96516
Merge pull request #30585 from woocommerce/add/29461
Add 'modified_before' and 'modified_after' params to REST API
2021-08-27 08:25:23 -05:00
Roy Ho ad955c19da
Merge pull request #30475 from woocommerce/move-order-actions-variable-to-filter-arg
Clean up and reduce confusion around the `woocommerce_order_actions` filter
2021-08-27 13:41:41 +01:00
Dan Bitzer 55ce338c72 Update `since` tag placeholder 2021-08-27 10:23:24 +09:30
Nestor Soriano a67b6405ec
Add 'modified_before' and 'modified_after' to get_collection_params. 2021-08-26 15:43:30 +02:00
Nestor Soriano 0b84d2d8b8
Add 'modified_before' and 'modified_after' params to REST API
The parameters are added to WC_REST_CRUD_Controller in v3 of the API.
2021-08-26 12:49:09 +02:00
Dan Bitzer 8bc963fba3 Make new `get_available_order_actions_for_order` method private
See PR #30475 for more info.
2021-08-26 10:53:40 +09:30
Barry Hughes 7b97a40835
Merge pull request #30487 from NekoJonez/patch-1
Deleting unneeded double spaces in text strings.
2021-08-24 16:04:02 -07:00
roykho 05917f0d6d
Prep versions for trunk 2021-08-19 13:38:14 -07:00
roykho 26285ff0f5
Add docblock 2021-08-19 10:10:00 -07:00
roykho 5a725b9ff5
Fix pages were being re-created even though not set during a db migration closes #30532 2021-08-19 09:53:57 -07:00
And Finally fa76121b41 Merge branch 'trunk' into update/marketplace-1 2021-08-19 10:29:37 +01:00
Maria Górska-Piszek f8164bd6db Add missing doc parameter. 2021-08-18 16:08:35 +02:00
Maria Górska-Piszek e17691d871 Restore and deprecate the helper nav file. 2021-08-18 15:57:22 +02:00
And Finally c9fc4e721b Fixing linter errors.
- Added Doc comment for parameter "$submenu_file".
- Removed space between `empty` and opening parenthesis.
2021-08-17 18:19:00 +01:00
And Finally af9e2b1777 Addressing feedback.
- Using `$search` variable instead of `$_GET['search']` to minimise `phpcs:ignore` comments.
- Using correct escaping functions.
2021-08-17 18:12:05 +01:00
jonathansadowski ccda6730c8
Merge pull request #30517 from woocommerce/revert/30418
Revert "Fix: the same set of related products is always displayed"
2021-08-17 10:11:12 -05:00
Roy Ho a33f053598
Merge pull request #30514 from woocommerce/remove/wctracker-admin_user_agent
Remove tracking of admin User-Agent
2021-08-17 15:27:14 +01:00
roykho 64b99d56f4
Revert "Fix: the same set of related products is always displayed"
This reverts commit 8095482f69.
2021-08-17 06:43:13 -07:00
And Finally 2888176944 Addressing feedback.
- Deleted `stylelint-disable` comments.
- Changed hook for `update_menu_highlight` from `parent_file` to `submenu_file`, so we don't need to access `$submenu_file` global.
2021-08-17 12:54:23 +01:00
roykho 35685a4cf5 Ensure countries that have no states hides states field closes #28944 2021-08-17 14:50:48 +05:30
Claudio Sanches 4e6f24b024
Merge pull request #30483 from woocommerce/add/location_in_country
Add base location's state and postcode for tracking
2021-08-16 17:38:54 -03:00
mmmaia 804092507d Remove Tracking of Admin User-Agent 2021-08-16 16:01:15 -03:00
And Finally 57f949bcf7 Added mobile style section menu to marketplace. 2021-08-13 13:54:37 +01:00
And Finally 5a1ef16774 Merge branch 'update/marketplace-1' into update/marketplace-mobile-fixes
# Conflicts:
#	assets/css/admin.scss
2021-08-13 12:59:23 +01:00
And Finally 0f7daf46da Addressing PHPCS issues. 2021-08-13 11:43:32 +01:00
Maria Górska-Piszek 24548f2e3d Fix linter errors. 2021-08-13 12:13:50 +02:00
Maria Górska-Piszek 1691cb6b08 Initial dropdown menu styling. 2021-08-13 11:29:12 +02:00
And Finally 98893585d8 Small style tweaks.
- Added top margin to `.addons-button` to ensure there's a gap above it when promos are squished to a narrower width.
- Changed wording and style of `Search results for` label at the top of extensions search results, to conform to new design.
2021-08-13 09:34:21 +01:00
And Finally b38bd0eeb9
Merge pull request #30488 from woocommerce/update/marketplace-page-load-track
Update/marketplace page load track
2021-08-13 08:59:26 +01:00
barryhughes bea7fb3121 Cast quantities to floats, not ints, as the test suite documents cases for fractional quantities. 2021-08-12 16:56:17 -07:00
barryhughes d6fda6768a Improve type safety (avoid trying to multiply a string by an int). 2021-08-12 16:27:05 -07:00
And Finally 1eb27f40b6
Merge branch 'update/marketplace-1' into update/restyle-tab-bar 2021-08-12 16:51:15 +01:00
And Finally 40833661eb Updated `track_extensions_page` to record new Tracks event `wcadmin_subscriptions_view` if the user views the My Subscriptions page. 2021-08-12 14:50:55 +01:00
NekoJonez cf40e5d498
Update class-wc-privacy.php
Deleted an unneeded double space in a string on line 89.
2021-08-12 15:26:45 +02:00
And Finally aa211dfc05 Fixing PHPCS issue - added parameter comment. 2021-08-12 09:17:21 +01:00
And Finally 8c5912e0be Fixing PHPCS issue - added return parameter comment. 2021-08-12 09:00:14 +01:00
Menaka S 2b79832553 Add base location's state and postcode for tracking 2021-08-12 07:06:27 +05:30
And Finally 7f805eeeed Fixing PHPCS issue - return parameter comment. 2021-08-11 18:25:19 +01:00
And Finally 1a4f061710 Removed `wrap` class from `.wc-addons-wrap` div on Marketplace page, as we now have a way of forcing the notices to appear at a particular place. Removing styles associated with the previous classes. 2021-08-11 18:15:26 +01:00
And Finally af7c5a4e1d Simplifying styling of notices on Marketplace and My Subscriptions pages.
- Added `.wp-header-end` div on Marketplace page, so WordPress will insert `admin_notices` there.
- Added top margin on notice on My Subscriptions page to keep it clear of Help tab.
2021-08-11 17:42:11 +01:00
Maria Górska-Piszek 13ccf2eb87 Rebase with feature branch. 2021-08-11 16:13:49 +02:00
And Finally 584b0a0a61 Layout tweaks. Changed new page classes to kebab case to avoid future stylelint selector warnings. Styling notices when they appear above the purple header. 2021-08-11 11:58:36 +01:00
Maria Górska-Piszek 662af41359
Merge pull request #30410 from woocommerce/update/styling-product-cards
Add product card styling.
2021-08-11 12:30:34 +02:00
And Finally 8553519657 Layout tweaks. Addressing positioning and styling of systems notices like the regenerating thumbnails notice, which should appear above the purple header. Changed `wc_addons_wrap` class to kebab case to address stylelint issue with class selector. 2021-08-11 10:15:06 +01:00
And Finally 4b60d518e2 Added filter to `WC_Admin` which adds special classes `woocommerce_page_wc-subscriptions` and `woocommerce_page_wc-marketplace` to the new split pages. 2021-08-11 10:13:08 +01:00
Dan Bitzer 6f76a7b538 Add `since` tag for when filter was added 2021-08-11 12:46:02 +09:30
Dan Bitzer 6a569ec3a1 Add comment about global variable usage 2021-08-11 12:23:21 +09:30
Dan Bitzer 3dd4df2ff5 Convert global variable to filter arg
To clean up the `woocommerce_order_actions` filter.
2021-08-11 12:16:43 +09:30
Dan Bitzer c5f6a0c3e4 Remove author and category tags to meet reqs 2021-08-11 12:15:58 +09:30
And Finally 608f4ef44e Merge branch 'trunk' into update/marketplace-1
# Conflicts:
#	tests/e2e/core-tests/specs/merchant/wp-admin-extensions-connect-wccom.test.js
2021-08-10 16:02:18 +01:00