Nestor Soriano
63ced34e2d
Convert optional-before-required arguments to required (take 2)
...
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-16 13:08:31 +02:00
Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Claudio Sanches
c317dd01e8
Restored old walkers files to keep backwards compatibility
2018-03-09 17:14:02 -03:00
Claudio Sanches
0643991a80
Updated file versions from walkers
2018-03-09 16:34:28 -03:00
Claudio Sanches
c5ace252e5
Fixed class-wc-product-cat-list-walker.php PHPCS violations
2018-03-09 16:30:13 -03:00
Claudio Sanches
73c924e2be
Fixed class-wc-product-cat-dropdown-walker.php PHPCS violations
2018-03-09 16:10:45 -03:00
Mike Jolley
8fa6116ef6
Hide cat-parent class when category will show no children due to depth setting
...
Closes #17184
2017-10-13 12:50:49 +01:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Aristeides Stathopoulos
10ffc92a73
Inline control structures are not allowed
2017-03-07 22:24:24 +02:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
72696901f3
WordPress.WhiteSpace.OperatorSpacing.SpacingAfter
2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Nicola Mustone
9759d38265
coding standards and escaping
2016-07-29 11:51:58 +02:00
Mike Jolley
d3472a6207
[2.5] Fix hide empty check
...
Fixes #10279
2016-02-05 12:31:53 +00:00
Mike Jolley
9dea16ab6c
[2.5] Fix 'hide empty' setting in category widget
...
Fixes #10213
2016-01-29 11:43:52 +00:00
Mike Jolley
47a74f96cd
[2.5] Add context to category localisation
...
@claudiosmweb Closes #10183
2016-01-27 11:19:38 +00:00
Fredrik Forsmo
3e41546cef
Improve docblock comments Walker classes
...
* Added comments to properties that don’t have any.
* Added comments to methods.
* Made `$db_fields` more readable
2016-01-06 20:02:05 +01:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
roykho
c208928b0e
remove hardcoded tree type
2015-06-27 07:41:24 -07:00
Bryce
19d06c3d5b
remove var keyword in WC_Product_Cat_List_Walker
2014-12-16 18:45:02 +07:00
Bryce
ee8125d97c
remove var keyword in WC_Product_Cat_Dropdown_Walker
2014-12-16 18:43:58 +07:00
shivapoudel
e1eb62aa8e
Absolute path and Indentation fix for includes/walkers/*.php :)
2014-09-21 01:20:47 +05:45
Mike Jolley
c4ef86d44e
scrutinizer patches
2014-09-08 00:37:55 +01:00
Mike Jolley
d9887bebbb
Hide empty at walker level #5028
2014-03-17 16:51:34 +00:00
Scott Basgaard
563adcaa86
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-17 22:00:25 +01:00
Gerhard
7db46f581f
Fix strict warnings for cat walker class, closes #4319
2013-12-09 10:07:24 +02:00
Mike Jolley
7c7e0ec9f4
Strict warnings
...
@coenjacobs for .14 I think
2013-08-05 12:27:30 +01:00
Mike Jolley
9f5f81c1aa
cat-parent without extra query. Closes #3355 .
2013-06-28 10:07:18 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00