Commit Graph

51706 Commits

Author SHA1 Message Date
Nathan Silveira 7c6e6a67dc
Re-add woocommerce_after_product_attribute_settings hook (#37738) 2023-04-18 16:33:35 -03:00
Corey McKrill 1650489480
Replace hardcoded notices with the correct wp_print_notice function (#37514)
Switches hardcoded notices over to the correct functions and makes it possible to modify the notices via template overrides. Additionally, a small modification to `wp_print_notice` was added so that the notice could be returned as a string instead of rendered. This makes it more flexible.
2023-04-18 12:07:23 -07:00
Shojib khan fd9b709de4 Add changelog 2023-04-18 23:56:21 +06:00
Fernando Marichal 2d87da87de
Fix disabled "Save attributes" button when editing a product (#37790)
* Fix disabled save button

* Add changelog
2023-04-18 14:53:16 -03:00
Joshua T Flowers ebe879d5dd
Add IframeEditor component to product editor (#37570)
* Add initial modal editor

* Add in iframe editor styles

* Convert components to TS

* Sync dependencies

* Remove unused components and props

* Set min height to avoid jumpiness during resize

* Fix up private APIs dependency version

* Update ModalEditor name to IframeEditor

* Add changelog entry

* Remove IframeEditor from details block

* Update frozen lock file

* Add support for missing gutenberg assets function

* Fix lock file after rebase

* Use default editor settings when none are provided

* Remove currently unused editor styles

* Remove unused private apis package

* Fix php lint errors

* Remove unused import

* Pin keycodes version

* Remove another unused import from testing

* Add WC changelog entry
2023-04-18 10:52:28 -07:00
Shojib khan 76d7c356c1 Create default pages in store locale language 2023-04-18 23:49:28 +06:00
Christopher Allford 38e91e2406 Style Fixes 2023-04-18 10:19:45 -07:00
Christopher Allford 5ca9c47563 Fixed Broken Cache Test When Path Tokenized
Since the template path is tokenized, it's possible that in different
testing environments the contents of the cache will be different
than the template file path on the filesystem. We can make sure
they are the same by untokenizing the cached path before the
assertion.
2023-04-18 10:13:17 -07:00
Christopher Allford c5cec0fe30 Revert "Added WIP `wp-env` Script"
This reverts commit 096dfc6ebc.
2023-04-18 09:59:40 -07:00
Christopher Allford 94f0ffa654 Fixed Incorrect Decorated Property In Tests
For some reason this was causing failures in `wp-env` but not CI.
2023-04-18 09:59:24 -07:00
Mike Jolley e8fcfbb82c Bump templates to 7.8.0 2023-04-18 17:10:19 +01:00
Christopher Allford 096dfc6ebc Added WIP `wp-env` Script
This should be removed before the PR is reviewed!
2023-04-18 09:04:01 -07:00
Christopher Allford 2f3ffa1ced Changelog 2023-04-18 09:03:02 -07:00
Christopher Allford ec92b4c119 Isolated Email Logger Tests 2023-04-18 09:00:55 -07:00
nigeljamesstevenson 4a6b5ac0cd
skip k6 api order RUD tests on non-existant order when C test fails (#37739) 2023-04-18 16:58:44 +01:00
Barry Hughes 4504c5a8a1
Add links to the main project README.md and DEVELOPMENT.md guides. (#37682) 2023-04-18 07:36:07 -07:00
Denis Dvali 56b63ada60 Changelog. 2023-04-18 18:04:50 +04:00
Denis Dvali a5b417b448 Linting. 2023-04-18 17:56:09 +04:00
Thomas Roberts e9c400c7b6
Update WooCommerce Blocks package to 10.0.1 (#37662)
* Update WC Blocks to 10.0.0

* Update WC Blocks to 10.0.0

---------

Co-authored-by: Luigi <gigitux@gmail.com>
2023-04-18 15:21:00 +02:00
Mike Jolley 22c5dbb89d phpcs rules 2023-04-18 14:16:48 +01:00
Mike Jolley 5a7be6f3ae Append cart-empty class to notice div 2023-04-18 14:11:02 +01:00
Denis Dvali 26410aef0a Linting. 2023-04-18 16:42:56 +04:00
Mike Jolley b800a429b8 Target inner div within notices in tests 2023-04-18 12:22:10 +01:00
Mike Jolley 73fd1a5bda Update cart empty selector 2023-04-18 12:22:10 +01:00
Mike Jolley 2cbbbbbaba Fix indents for phpcs 2023-04-18 12:22:10 +01:00
Mike Jolley 93665bd41e phpcs fixes 2023-04-18 12:22:10 +01:00
Mike Jolley 5ba6a3d71d Add full stop to docblock param 2023-04-18 12:22:10 +01:00
Mike Jolley 123dff3bf2 Remove array short syntax 2023-04-18 12:22:10 +01:00
Mike Jolley f330bc7210 Escape return to shop 2023-04-18 12:22:10 +01:00
Mike Jolley 3c8bef029c Revert template bump in form-login 2023-04-18 12:22:10 +01:00
Mike Jolley 82a4698470 Revert template bump in form-coupon 2023-04-18 12:22:10 +01:00
Mike Jolley 078f54de58 Revert version bump in lost password template 2023-04-18 12:22:10 +01:00
Mike Jolley bb0d83d000 template version bumps 2023-04-18 12:22:10 +01:00
Mike Jolley 65038cc1f9 Update selector for test notice 2023-04-18 12:22:10 +01:00
Mike Jolley 64995db39b Changelog 2023-04-18 12:22:10 +01:00
Mike Jolley abfe701f8b Replace hardcoded error notices with wp_print_notice 2023-04-18 12:22:10 +01:00
Mike Jolley ec6ed5c97c Replace hardcoded info notices with wp_print_notice 2023-04-18 12:22:10 +01:00
Mike Jolley d0ea42a58c Allow notice to return instead of echo 2023-04-18 12:22:10 +01:00
nigeljamesstevenson b78e320c1c
[E2E] Fix `wp-content/upgrade` folder permissions to fix recently failing daily and release tests (#37783) 2023-04-18 10:49:42 +01:00
rodelgc 31b4deb1b1 Add changelog 2023-04-18 13:57:09 +08:00
rodelgc 87f69cb609 Add write permission to `wp-content/upgrade` folder 2023-04-18 13:55:24 +08:00
Paul Sealock 747e3384f3
Update trunk stable tag (#37779)
* update stable tag

* changelog
2023-04-18 17:26:04 +12:00
github-actions[bot] 2977a95b16
Release: Remove 7.7 change files (#37776)
Delete changelog files from 7.7 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-18 16:17:38 +12:00
github-actions[bot] 3a4e9912ed
Prep trunk for 7.8 cycle (#37777)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-18 16:17:06 +12:00
Rommel Castro 2800be9b7b
fix phpcs errors 2023-04-17 22:05:10 -06:00
Maikel David Pérez Gómez 41545ec459
Invert the useValidation hook behavior to return an error instead of a boolean value (#37695)
* Invert the useValidation hook behavior to return an error instead of a boolean value

* Fix validation logic in schedule-sale and track-inventory blocks

* Add changelog file

* Add validations to product name block

* Fix shipping dimensions validations

* Fix shipping fee validations

* Add i18n error message example to readme.md

* Cover semantic issues
2023-04-17 23:54:15 -04:00
Joshua T Flowers ffcbaf5b3a
Move tabs to header and adjust title position (#37696)
* Move product editor tabs to header

* Update header styles to place tabs on bottom

* Center header title and adjust font size

* Style title and columns on mobile

* Add changelog entry

* Truncate longer titles

* Hide title on smaller viewports

* Truncate via css width instead of character count
2023-04-17 15:39:09 -07:00
Adrian Duffell eb682695d0
Performance Improvement for Heuristics Tracks Event (#37769)
* Update onboarding settings to conditionally provide heuristics data

* Add changelog

* Fix lint issue
2023-04-18 06:18:48 +08:00
Adrian Duffell 03ce56a99e
Add Woo Payments Feature Slot Fill on Homepage (#37768)
* Add slot

* Add fill

* Add changelog
2023-04-18 05:07:25 +08:00
Denis Dvali 943e9f1869 Initial version of plugin installer version 2. 2023-04-18 00:57:02 +04:00