Ron Rennick
8c9ff70c33
fix string + string for PHP 8.X
2023-05-30 16:35:56 -03:00
Ron Rennick
dd04184dd5
fix Unsupported operand string * float
2023-05-30 15:25:28 -03:00
Matt Sherman
4e530ba2e2
Prevent theme styles from being used in the block-based product editor ( #38491 )
2023-05-30 13:25:55 -04:00
Tomek Wytrębowicz
1c7c99636e
Reduce code duplication in Report Controllers ( #38048 )
2023-05-30 12:53:30 +02:00
Ilyas Foo
edf95bf3f4
Update shipping partner suggestions to use data from API ( #38457 )
...
* Added shipping partner suggestions data handling in JS
* Add woocommerce services real info
* Add dynamic layout components, remove unused JS, added images to proper asset paths
* Changelog
* Update changelog and removed unused variable
* Remove console.log
* Lint fix
* Add shipping methods module in woocommerce/data
* Update data usage
* Revert "Added shipping partner suggestions data handling in JS"
This reverts commit 6a87ef2658
.
* Lint fix
2023-05-30 15:56:32 +08:00
RJ
ab18828e84
add: core profiler business info page ( #38412 )
...
* add: core profiler business info page
2023-05-30 15:05:38 +08:00
Chi-Hsuan Huang
953a8f5c30
Make option API fail when using a disallowed option name in non-produciton environments ( #38388 )
...
* Make option API fail when using a disallowed option name in non-produciton environments and update permission list
* Add changelog
* Change Option API deprecated notice version to WC 6.3
2023-05-30 09:07:29 +08:00
Matt Sherman
27574c98cd
Update DateTimePickerControl's dropdown positioning ( #38466 )
2023-05-29 16:12:28 -04:00
Matt Sherman
f186403a77
Opt out of Reset and Help buttons in DateTimePickerControl ( #38480 )
2023-05-29 16:09:06 -04:00
Maikel David Pérez Gómez
b0ac1607b9
View should scroll to the top when navigating between tabs ( #38484 )
...
Override the interface skeleton container so it can be scrollable
2023-05-29 15:28:50 -04:00
Ron Rennick
98a1ba3174
Maybe default the selected state as the first one when it's "*" ( #38469 )
2023-05-29 16:02:41 -03:00
Moon
6946ef384a
Core Profiler - Add extensions page ( #38405 )
...
* Initial design impl. without the full functionality
* Delete unused icons
* Add is_installed and plugins_page_skipped
* Add plugin-card component to render an installable plugin
* Implement plugins page
* Add loaders for plugins
* Add changelog
* Remove unused type
* Add changelog
* Remove unnecessary return statement
* Add obw/core-profiler
* Replace extensions with plugins
* Temp -- use window.location.href for Woo Home redirection
* Minor: code refactor
* Refactor isntallAndActivatedPlugins
* Skip plugins page when there is no available plugin
* Apply mobile styles
* Update plugins/woocommerce-admin/client/core-profiler/components/plugin-card/plugin-card.scss
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Update plugins/woocommerce-admin/client/core-profiler/components/plugin-card/plugin-card.scss
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Update plugins/woocommerce-admin/client/core-profiler/style.scss
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Bold errored plugin name
* Fix checkbox alignment
* Update changelog
* Fix object type for formatToParts function
* Fix lint issues
* Fix CSS lint issues
* Fallback to en-US when locale is not available
* Fix error with siteLocale
---------
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-05-29 07:45:30 -07:00
Fernando Marichal
5e3fe64598
Fix RIM rules processor ( #38312 )
...
* Fix url comparison.
* Add changelog
* Fix lint
* Fix `process` function
* Fix `contains` switch
* Create class "PrepareUrl"
* Fix "PrepareUrl"
* Fix "compare" and "process"
* Fix "process"
* Add readme and changelog
* Refactor OptionRuleProcessor
* Fix lint
* Fix conditional
* Add unit tests
* Fix lint
2023-05-29 09:29:02 -03:00
Chi-Hsuan Huang
340d74cdba
Update woocommerce_suggest_jetpack filter description ( #38501 )
...
* Update woocommerce_suggest_jetpack filter description
* Add changelog
* Update filter description
2023-05-29 15:21:24 +08:00
Chi-Hsuan Huang
f937a3e61b
Add an action to add trunk to live branches manifest ( #38419 )
...
Add build-live-branch action to add trunk to live branches manifest
2023-05-29 12:08:32 +08:00
Christopher Allford
230bc04050
Updated `wp-env` To 8.0.0 ( #38440 )
2023-05-26 15:48:48 -07:00
Moon
f3a515889c
Core Profiler - replace install-async with install-activate-async ( #38434 )
...
* Change install-async to install-activate-async
* Add changelog
* Add comment for activated function
* Fix tests and rename install-activate-async to install-and-activate-async
* Rename callback function to static
2023-05-26 13:34:54 -07:00
ajayghaghretiya-multidots
0780386610
Fixed import and visibility tax values to lowercase ( #33820 )
...
* Fixed import and visibility tax values to lowercase
* Minor fixes
---------
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-05-26 13:23:35 -05:00
Scott Kingsley Clark
7feda5e4dd
Bring in code suggestions from Ron
...
Co-authored-by: Ron Rennick <ron@ronandandrea.com>
2023-05-26 12:53:00 -05:00
Ron Rennick
bf77b4c022
[Fix] Undefined array key 1, 2, 3 when using list to extract cookie values. ( #38294 )
2023-05-26 13:28:34 -03:00
Ron Rennick
73c8b91b6f
Add changelog file
2023-05-26 12:33:41 -03:00
Matt Sherman
2b12908a80
Add @woocommerce/create-product-editor-block package ( #38263 )
...
* Initial commit for create-product-editor-block
* Changelog
* Add stylelint support
* Install WooCommerce and WooCommerce Beta Tester in wp-env
* Set PHP and WordPress versions
* Enable product block editor after wp-env setup
* Lower priority for modifying template, so that the template is actual there!
* Update wp-env afterSetup command to use npx
* Update output README.md
* Update README for package
* Use long form of template parm name in README
* Remove unused example in block config
* Update block registration to handle both WP 6.2 and WP 6.3
* Include note about how to change version of WP and WC in README
* Update WP to 6.2.1
* Remove explicit enqueuing of block script and style
* Update minimum required versions of WordPress and PHP in generated plugin file
* Enable feature flag option after setup of wp-env
* Add minimum required WC version to generated plugin file
* Support wp-env lifecycleScripts
* Guard against product_block_editor not enabled or missing template
* Update lock file
2023-05-26 08:16:57 -04:00
Nathan Silveira
c44ee9649f
Filter by date_paid and date_completed on list table orders ( #38428 )
...
* Filter by date_paid and date_completed on list table orders based on configuration
* Use separate query param 'order_date_type' to filter orders
* Add clarifying comment
* Add missing phpcs ignore
* Refactor to use 'm' and 'order_date_type' query parameters
2023-05-26 05:19:01 -03:00
Paul Sealock
0cfbf0a653
Changelog CLI: Add command to make entry from PR description ( #38357 )
2023-05-26 12:02:20 +12:00
Rua Haszard
bb79e28cf6
make all params optional (except body text) and conditonally render button
2023-05-26 11:02:43 +12:00
Rua Haszard
ff89bfda40
tidy / polish new order metabox hook:
...
- rename for consistency with related hooks
- add `$order` param as will likely be useful to clients
- document in docblock
- remove wrapper div
2023-05-26 10:49:34 +12:00
Rua Haszard
4c9df162ce
fix parameter order – consistent with docblock, group soon-tobe-optionall button params
2023-05-26 10:40:20 +12:00
Moon
2f6ff0f3e6
Core Profiler - Add obw/core-profiler to the extensions endpoint ( #38418 )
...
* Add obw/core-profilers
* Added name fields to all plugins
* Added icons for jetpack and woocommercer-services
* Add changelog
* Fix lint issues
2023-05-25 13:20:39 -07:00
Scott Kingsley Clark
4eea158c82
Rename changelog/fix-default-selected-state-for-country to plugins/woocommerce/changelog/fix-default-selected-state-for-country
2023-05-25 15:17:27 -05:00
Scott Kingsley Clark
59ecb9306c
Rename pr-38467 to fix-default-selected-state-for-country
2023-05-25 14:40:48 -05:00
Scott Kingsley Clark
9840cc48d7
Add changelog
2023-05-25 14:38:16 -05:00
Scott Kingsley Clark
c32c133235
Remove extra tabs
2023-05-25 14:32:49 -05:00
Scott Kingsley Clark
839bc0ea18
Maybe default the selected state as the first one when it's "*"
...
When WC is provided only the country for the option `woocommerce_default_country` then it will fail to select a default state within the listed states.
Try this by manually setting `woocommerce_default_country` to "US" and you will see it selects the first country in the list instead of the first state within that country.
This only happens for countries that have states like US and CA for instance.
2023-05-25 14:28:05 -05:00
Barry Hughes
3fecc47437
Revert "Add REST API Products featured image" ( #38460 )
2023-05-25 12:08:38 -07:00
Ron Rennick
c045584248
Revert "Add REST API Products featured image"
2023-05-25 14:44:49 -03:00
Albert Juhé Lluveras
94d8b54de6
Update WooCommerce Blocks package to 10.2.1 ( #38449 )
2023-05-25 16:02:58 +02:00
RJ
80f6d0a6a6
add: wccom migrate link in nux ( #38441 )
...
* add: wccom migrate link in nux
* Update plugins/woocommerce-admin/client/profile-wizard/steps/business-details/flows/selective-bundle/style.scss
2023-05-25 20:25:03 +10:00
louwie17
4db856db05
Add declare compatibility functions to beta tester ( #38393 )
...
* Add declare compatibility for custom order table and product block editor features
* Add changelog
* Fix PHP lint errors
2023-05-25 05:06:06 -03:00
Fitim Vata
00b96fb940
Merge branch 'woocommerce:trunk' into trunk
2023-05-25 09:46:16 +02:00
Chi-Hsuan Huang
af26209886
Update "Set up additional payment options" task view & complete logic ( #38273 )
...
* Cache WooCommercePayments task is_complete() result
* Update Set up additional payment task view logic
* Add changelog
* Update additional payment task view & complete logic
* Add changelog
* Fix lint and view logic
* Fix lint
* Fix lint
* Update payment task section heading logic
2023-05-25 12:24:15 +08:00
Rua Haszard
27e2f7b334
prototype contextual notice component – php func, template, and css
2023-05-25 16:01:44 +12:00
Rua Haszard
43c7212f53
Add fake but informative changelog to appease the pre-commit hooks.
2023-05-25 14:36:09 +12:00
Paul Sealock
7164093928
Workflows: Remove Github Actions Bot conditionals ( #38438 )
2023-05-25 12:00:22 +12:00
Corey McKrill
d6eab3615c
Add unit tests
2023-05-24 16:27:04 -07:00
Corey McKrill
ed2013d933
Add changelog file
2023-05-24 16:23:45 -07:00
Corey McKrill
1e40699ed2
Add OrderUtil methods to check for specific order admin screens
2023-05-24 16:23:44 -07:00
Corey McKrill
83f3dae429
Use container class to retrieve orders page controller
...
This ensures that the instance of the page controller class that
is used to set up the HPOS order admin screens is accessible and has
all its properties set correctly for use with the new is_order_screen
method.
2023-05-24 16:23:44 -07:00
Corey McKrill
498c08592a
Add method is_order_screen to HPOS PageController class
2023-05-24 16:23:44 -07:00
Corey McKrill
1f42f3f17b
Add missing post_type value to WP_Screen for HPOS order screens
2023-05-24 16:23:44 -07:00
github-actions[bot]
8bd49ad2ae
Prep trunk for 7.9 cycle ( #38402 )
...
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-24 17:34:49 -05:00