[wp-trac] [WordPress Trac] #58481: Mark `apply_filters()` third parameter as optional

WordPress Trac noreply at wordpress.org
Thu Jun 8 07:53:15 UTC 2023


#58481: Mark `apply_filters()` third parameter as optional
------------------------------+-----------------------
 Reporter:  audrasjb          |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.3
Component:  General           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-----------------------
Changes (by audrasjb):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55893" 55893]:
 {{{
 #!CommitTicketReference repository="" revision="55893"
 Docs: Mark `apply_filters()` third parameter `$args` as optional.

 The `$args` parameter of `apply_filters()` is optional. This changeset
 updates the related Docblock description accordingly so the parameter is
 not marked as
 `required` on DevHub.

 Props gaeldenysiak, audrasjb, gilles66.
 Fixes #58481.
 See #57840.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58481#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list