Opened 20 months ago
Closed 20 months ago
#58481 closed defect (bug) (fixed)
Mark `apply_filters()` third parameter as optional
Reported by: | audrasjb | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
The $args
parameter of apply_filters()
is optional. We should update the related Docblock description accordingly so the parameter is not indicated as required
on DevHub.
See https://developer.wordpress.org/reference/functions/apply_filters/
Props @gilles66 for pointing this out in a DevHub comment.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Hi, my name is Gael. I've been working on WordPress for a while and I'm excited to offer my first contribution, which I hope will be the first of many :) Have a great day, community!