Rodrigo Primo
0771138604
Merge pull request #27707 from dd32/php8/warnings
...
PHP8 Warning: Change __wakeup() to a public method
2020-10-08 10:01:21 -03:00
Néstor Soriano
ab529835fa
Merge pull request #27840 from woocommerce/php8/fix-required-parameters-after-optional
...
[PHP 8] Convert optional-before-required parameters into required parameters
2020-10-08 14:22:52 +02:00
Ron Rennick
ab4a46e32e
Merge pull request #27299 from woocommerce/fix/27116
...
allow variation image to be removed via REST API
2020-10-05 09:33:50 -03:00
Nestor Soriano
7485b9165f
Convert optional-before-required arguments to required.
...
In PHP 8 required parameters after optional parameters in
function/method signatures trigger a deprecation notice. These type
of parameters are pointless since a value needs to always be
provided for them anyway, so they are actually de-facto required.
This commit converts all these not-so-optional parameters into
truly required parameters by removing their default values.
2020-10-02 09:45:09 +02:00
Nestor Soriano
53d33457e3
Fix code style/sniffer errors in a few files.
2020-10-02 09:34:09 +02:00
Dion Hulse
9440ec3570
Change __wakeup() to a public method to avoid PHP8 warning.
2020-09-18 07:55:26 +00:00
Claudio Sanches
70c7adfeb7
Fixed usage of package tag in REST API and templates
2020-09-17 11:56:08 -03:00
vedanshujain
4b1ebea800
Also allow null for date-time for BW
2020-08-13 16:49:44 +05:30
vedanshujain
3dd508fd35
Address review comments
2020-08-13 16:36:27 +05:30
vedanshujain
a4691dc3f3
Set type to mixed to be compatible with 5.4.
...
This prop was missed in an earlier commit.
2020-08-13 15:47:18 +05:30
vedanshujain
5c0be2a715
Give preference to null data-type over others
2020-08-13 14:17:48 +05:30
vedanshujain
147c9baf4f
Change `mixed` data type to composite for compatibility with 5.5
2020-08-13 13:30:39 +05:30
vedanshujain
083e529668
Revert "Fix compatibility for WP 5.5"
...
This reverts commit cc96f6bbd1
.
2020-08-12 19:31:40 +05:30
Ron Rennick
22867c41c1
phpcs fixes
2020-08-11 15:51:38 -03:00
Ron Rennick
78c2a07306
allow variation image to be removed via REST API
2020-08-11 15:44:03 -03:00
vedanshujain
1966b0ba9a
Changed textdomain since API is merged into core now.
2020-08-06 18:18:18 +05:30
vedanshujain
cc96f6bbd1
Fix compatibility for WP 5.5
2020-08-06 14:34:03 +05:30
vedanshujain
55a9687e6d
Make api included structure more linear.
2020-08-06 14:34:02 +05:30