Commit Graph

53278 Commits

Author SHA1 Message Date
Corey McKrill f6df363683
Docs: Add doc for CRUD objects
Combines the following two older versions of this doc:
* https://github.com/woocommerce/woocommerce/wiki/CRUD-Objects-in-3.0
* https://woocommerce.com/document/developing-using-woocommerce-crud-objects/
2023-08-22 12:31:14 -07:00
Corey McKrill 4ac5f24c7e
Markdown linting fix 2023-08-22 12:15:58 -07:00
Barry Hughes 1d6f912b25
Coding standards: add trailing ; 2023-08-22 12:03:11 -07:00
Corey McKrill 76174c4f03
Specify language for fenced code blocks 2023-08-22 12:01:15 -07:00
Corey McKrill 4f89b0f307
Docs: Add doc for Data stores
Moves the following Wiki doc into our docs folder and makes some minor
wording and grammatical tweaks:
* https://github.com/woocommerce/woocommerce/wiki/Data-Stores
2023-08-22 11:43:51 -07:00
jonathansadowski f9363d4804
Update Yoast PHPUnit Polyfill to 2.0 (#39830)
* Update Yoast PHPUnit Polyfill to 2.0

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-22 12:33:30 -05:00
Barry Hughes dc9272946d
Initiating the Docs Information Architecture and committing the first… (#39812) 2023-08-22 10:16:02 -07:00
barryhughes 0759bafdc4 If `geo_hash` is known and correct, avoid an unnecessary redirect back to the same page. 2023-08-22 09:38:51 -07:00
Brent MacKinnon 072396d07b Create extension-developer-handbook.md 2023-08-22 13:15:03 -03:00
nigeljamesstevenson c0d6a75731
In-app Marketplace React rebuild: feature branch (#39121) 2023-08-22 17:09:14 +01:00
Niels Lange 082a88fa96
Add a currency and symbol 2023-08-22 16:54:20 +02:00
Maikel David Pérez Gómez 897e0673a7
Add quick actions dropdown menu per variation item (#39816)
* Add the dropdown menu to the variations list

* Add preview link to the preview dropdown menu item

* Add delete variation support to the delete menu item

* Fix linter error

* Add changelog file

* Add wcadmin_product_variations_menu_view, wcadmin_product_variations_preview and wcadmin_product_variations_delete tracking events to the variation quick actions menu items
2023-08-22 10:42:18 -04:00
Niels Lange 7803b6e165
Update rename-a-country.md 2023-08-22 16:11:37 +02:00
Niels Lange 769ef9e36a
Update add-or-modify-states.md 2023-08-22 16:10:21 +02:00
Niels Lange 9a81c5e0e8
Update add-a-country.md 2023-08-22 16:09:57 +02:00
Niels Lange b1f3596903
Add a country 2023-08-22 16:04:28 +02:00
Niels Lange 86cc946848
Update add-or-modify-states.md 2023-08-22 16:01:29 +02:00
Niels Lange 3ae66b6803
Update add-or-modify-states.md 2023-08-22 15:58:12 +02:00
Niels Lange d8074c91b1
Add or modify states 2023-08-22 15:51:48 +02:00
Niels Lange 04224dd7e4
Update change-a-currency-symbol.md 2023-08-22 15:48:40 +02:00
Niels Lange 0b48931d11
Change a currency symbol 2023-08-22 14:54:17 +02:00
Niels Lange cd654d5378
Add code snippet to rename a country 2023-08-22 14:36:43 +02:00
Kyle Nel f2446da15f
Merge branch 'trunk' into feature/marketplace 2023-08-22 13:16:13 +02:00
RJ cb2cf79342
dev: refactor core profiler loader (#39735)
* dev: refactor core profiler loader

* dev: added storybook example for loader

* lint

* Apply suggestions from code review

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* addressed review feedback

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-08-22 19:58:33 +10:00
Leif Singer d8c9f6a5a3 Turn off the experimental flag for HPOS 2023-08-22 11:11:12 +02:00
Néstor Soriano 4876ab35b8
Bump WooCommerce minimum required PHP version to 7.4 (#39820)
-Change "Requires PHP":
  - In woocommerce.php
  - In readme.txt
  - In plugins/woocommerce-docs/woocommerce-docs.php
  - In packages/js/create-product-editor-block/plugin-templates/$slug.php.mustache

- Change "testVersion" in phpcs.xml:
  - In the root of the repository
  - In plugins/woocommerce
  - In plugins/woocommerce-beta-tester

- Change "require-php" and "config-platform-php" in composer.json
- Update composer.lock with more modern versions of some of the dependencies
- Remove the admin notice about the upcoming bump for PHP 7.3 users in class-wc-admin-notices.php
2023-08-22 09:21:09 +02:00
Jonathan Lane c2cbc87807
Updates Playwright to 1.37.1 from 1.33 (#39815)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-08-22 12:59:28 +08:00
Jon Lane 5fc3c00437 Add a delay when running externally 2023-08-21 15:43:59 -07:00
Jon Lane 4c09bf73d3 Remove comment for non-skipped test (cleanup) 2023-08-21 15:30:07 -07:00
Jon Lane 5128c26140 Force tests to run serially 2023-08-21 15:04:40 -07:00
Jon Lane e1763174e5 Update system status to account for environment differences 2023-08-21 14:57:57 -07:00
Niels Lange 0519dbb7d0
Bump WooCommerce blocks package to 10.9.2 (#39828)
* Bump WooCommerce blocks package to 10.9.2

* Add changelog file
2023-08-21 14:50:01 -05:00
Moon 6f1a84e435
Run A/B test on the core profiler plugins page with Jetpack and Jetpack Boost (#39799)
* Update Jetpack label and description

* Replace Jetpack with Jetpack Boost for treatment group

* Add changelog

* Append plugin_name param to Jetpack Connection page URL

* Use the correct experiment name
2023-08-21 12:43:15 -07:00
Maikel David Pérez Gómez a4ed336a0d
Variation attributes can not be enabled in Attributes section and Non Variations attributes cannot be enabled in Variation Options section (#39770)
* Disabled attributes used in different section

* Let the attribute input field to disable some items within the dropdown list

* Define disabled attribute ids and message

* Filter non variable attributes as disabled to be used under variations options

* Filter variable attributes as disabled to be used under attributes

* Add changelog file

* Fix linter error

* Add tooltip option to menu item and use it for attribute and variations

* Fix some rebase conflicts

* Add changelog file

---------

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-08-21 15:39:31 -04:00
Brent MacKinnon 2189582b57 updating issue names 2023-08-21 16:08:56 -03:00
Brent MacKinnon 787a7d88f8
Update docs/README.md
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-08-21 16:06:36 -03:00
Brent MacKinnon 6b87c1f7a0
Update docs/README.md
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-08-21 16:06:24 -03:00
Joshua T Flowers 0c161dcacb
Add block template registry and controller (#39698)
* Add id, description, title, and area to block template methods

* Add block template registry and controller

* Remove errant die

* Add new template properties to existing test templates

* Add new template method tests to custom block template tests

* Add template registry tests

* Add template controller tests

* Add tests around template transformer

* Use template instance for registration

* Add changelog entry

* Fix tests for block controller not be initialized by container
2023-08-21 10:22:19 -07:00
Fernando Marichal 3f17b9b13b
Allow users to select multiple items from the media library while adding images (#39741)
* Allow select multiple items

* Add changelog

* Fix TS error
2023-08-21 12:10:30 -03:00
Fernando Marichal 79df3d7937
Fix display error in the Categories dropdown (#39811)
* Set flip as false

* Add changelog
2023-08-21 11:02:12 -03:00
Ismael Martín Alabarce 1227a27458
Fix onboarding payments task not completed after setting up WooPayments (#39786)
* Remove is_connected condition from can_view

To display WooPayments task as completed if applicable rather than an uncompleted payments task.

* Add changelog entry
2023-08-21 12:55:49 +02:00
Vedanshu Jain bc5c355eb7
Always return bool values from WPCacheEngine functions. (#39819) 2023-08-21 16:12:08 +05:30
Kader Ibrahim S e22338a7e7
Fixes WooCommerce knowledge base API returning empty posts (#39809) 2023-08-21 14:54:24 +05:30
github-actions fa7d9ec920 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-21 08:59:37 +00:00
Vedanshu Jain 031530305d Always return bool values from cache function. 2023-08-21 14:20:29 +05:30
Jon Lane 88afbb1e5b Fix product CRUD tests to work with daily 2023-08-18 16:33:09 -07:00
Jonathan Lane 497c5694e0
Fix failing disable test (#39674)
* Fix failing disable test

* Add changefile(s) from automation for the following project(s): woocommerce

* Fix daily failing

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-08-18 15:33:07 -07:00
Brent MacKinnon 39ef761eaf Delete md-linting.yml 2023-08-18 16:30:00 -03:00
louwie17 b3f7be5fdc
Update ImageGallery toolbar: changing icon to text and adding ellipsis menu (#39753)
* Update ImageGallery Toolbar by adding an ellipsis options dropdown menu

* Add changelog

* Remove typings

* Fix build issues

* Fix lint errors

* Add comment and remove old comment
2023-08-18 16:24:26 -03:00
Brent MacKinnon 0a3f5744ab Update HPOS.md 2023-08-18 16:05:23 -03:00