Opened 3 years ago
Closed 3 years ago
#58481 closed defect (bug) (fixed)
Mark `apply_filters()` third parameter as optional
| Reported by: | audrasjb | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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!